Hi again!
I have recently noticed that elog often creates large accumulations of the following group of error messages in our syslog:
Jul 9 19:05:00 elogd[27009]: Falling back to default group "elog"
Jul 9 19:05:00 elogd[27009]: Falling back to default user "elog"
Jul 9 19:05:02 elogd[27009]: Cannot restore original GID/UID.
Jul 9 19:05:02 elogd[27009]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied
Jul 9 19:05:05 elogd[27013]: Falling back to default group "elog"
Jul 9 19:05:05 elogd[27013]: Falling back to default user "elog"
Jul 9 19:05:05 elogd[27013]: Cannot restore original GID/UID.
Jul 9 19:05:05 elogd[27013]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied
Jul 9 19:05:05 elogd[27016]: Falling back to default group "elog"
Jul 9 19:05:05 elogd[27016]: Falling back to default user "elog"
Jul 9 19:05:06 elogd[27016]: Cannot restore original GID/UID.
Jul 9 19:05:06 elogd[27016]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied
I have further found out that these coincide with the generation of attachment thumbnails (i.e. every time a user displays an entry generated before the advent of ImageMagick support for the first time, and every time the preview pictures are scaled/rotated while editing an entry).
The PID-file is indeed owned by the root user and not elog, but is correctly cleaned up at termination of the elog server.
Jul 9 19:47:08 elogd[27335]: elogd server aborted.
Jul 9 19:47:16 elogd[27359]: elogd 2.7.3 built Apr 18 2008, 14:08:31
Jul 9 19:47:16 elogd[27359]: revision 2104
Jul 9 19:47:16 elogd[27359]: Falling back to default group "elog"
Jul 9 19:47:16 elogd[27359]: Falling back to default user "elog"
Jul 9 19:47:16 elogd[27360]: Falling back to default group "elog"
Jul 9 19:47:16 elogd[27360]: Falling back to default user "elog"
Jul 9 19:47:16 elogd[27360]: Cannot restore original GID/UID.
Jul 9 19:47:16 elogd[27360]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied
Jul 9 19:47:16 elogd[27359]: ImageMagick detected
Does this point at some sort of problem?
Another question concerning the thumbnails of multi-page PDF-files: would it make sense to restrict the thumbnail generation to the first page? Since this is the title page, which in most cases is the only relevant page (really reading the file from the thumbnails is usually not possible anyway), this could help keep the attachment display less crowded ...
Thanks for the work and continuing support!
Yoshio |