This has been going on for several nights now and is a major problem in assp
1.2.7.x.  It has occurred in 1.2.7.1, 1.2.7.6 and 1.2.7.7.  Every night,
when assp rotates the log file, assp.pl goes into a loop and consumes more
than 50% CPU:
 
 
Tasks: 127 total,   2 running, 123 sleeping,   1 stopped,   1 zombie
Cpu(s): 41.5% us,  8.5% sy,  0.0% ni, 47.5% id,  2.2% wa,  0.2% hi,  0.2%
si,  0.0% st
Mem:   1033684k total,  1018924k used,    14760k free,     4336k buffers
Swap:  2096472k total,   932776k used,  1163696k free,    27872k cached
 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

29760 root      25   0 1298m 833m 1208 R   99 82.6   5:57.32 perl


 
The log file gets overlayed, so that there is no history of email logging
whatsoever:
 
 
# ls -l
total 36
-rw-r--r-- 1 root root  178 Jan 24 00:08 07-01-24-00.maillog.txt
-rw-r--r-- 1 root root  172 Jan 25 00:04 07-01-24.maillog.txt
-rw-r--r-- 1 root root  172 Jan 26 00:04 07-01-25.maillog.txt
-rw-r--r-- 1 root root  172 Jan 26 00:25 07-01-26.maillog.txt
-rw-r--r-- 1 root root  172 Jan 28 00:04 07-01-27.maillog.txt
-rw-r--r-- 1 root root  172 Jan 28 00:11 07-01-28.maillog.txt
-rw-r--r-- 1 root root  172 Jan 30 00:04 07-01-29.maillog.txt
-rw-r--r-- 1 root root  172 Jan 30 00:06 07-01-30.maillog.txt
-rw-r--r-- 1 root root 2173 Jan 30 00:09 maillog.txt

 
Note the size of each log file. All contain the same thing:
 
 
Jan-30-07 00:06:38 new log file -- old log file renamed to
'logs/07-01-30.maillog.txt'
Jan-30-07 00:06:38: Rolling log file -- archive saved as
'logs/07-01-30.maillog.txt'

 
And nothing more.  All logging is completely lost!
 
I have to kill the looping assp.pl process as a "service assp start" will
just create a second instance of assp.  As far as the config file, I have
the rotation set to every day and the log file lives in logs/maillog.txt.
(This happenes whether it lives in the base dir or the logs dir.)
 
This is a serious problem that needs to be addressed before 1.2.7 can go GA.
The looping crashes the server if I do not intervene.
 
Steve Woods
 
 
 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to