SAP Knowledge Base Article - Preview

2175931 - Log file rotate does not work correctly - SAP SWT

Symptom

  • Open Switch creates a log file. The size of the log file is defined by MAX_LOGSIZE. A big log file is not possible because of the limitations of Open Switch which is only available in 32 bits). If MAX_LOGSIZE is reached: the log file is renamed to old and a new log file is started.
  • The old log file grows. When the log file has been rotated the old file grows just as fast as the new log file. This happens only at the first time.
  • Filesystem is full. After rotation, the old file seems to be the right size. But the file continues to grow in the background and grows until the filesystem is full. The file is not correct deleted because it is still in use by Open Switch. This is seen by the commands : df lsof | grep <(><<)>log file old> ( df - report file system disk space usage lsof - list open files ). When the file system is full,Open Switch has to be restarted to free thedisk usage. New log is not written to the log file.


Read more...

Environment

  • SAP Sybase OpenSwitch 15.1 EBF23418 ESD#8
  • Linux x64

Product

Sybase Open Switch 15.1

Keywords

Openswitch, file rotation, MAX_LOGSIZE , KBA , BC-SYB-SWT , Openswitch , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.