tis 2003-05-06 klockan 10.49 skrev Ramzi S. Abdallah:
> I am running squid-2.4.STABLE6 that serves approximately 400 users. The
> server has been running stably for almost 2 years with no problems until
> I recently changed the cache_access_log entry in squid.conf to log into
> a block special files which I created using the command mknod
> /var/log/squid/squidacct.log p
>
> Now when the server is in high usage it crash with the following errors:
>
> May 6 11:50:49 proxy (squid): logfileWrite:
> /var/log/squid/squidlogs.log: (11) Resource temporarily unavailable
> May 6 11:50:50 proxy squid[894]: Squid Parent: child process 1027
> exited due to signal 6
cache.log should have more information on what the reason to the abot
is, but I think the reason is that your log processing script cannot
keep up with the rate of log entries sent by Squid.
I would recommend using the File::Tail perl module to monitor the log
file rather than logging via a pipe. This allows your log processor to
process the log when it can with no impact on Squid.
http://search.cpan.org/search?module=File::Tail
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org Please consult the Squid FAQ and other available documentation before asking Squid questions, and use the squid-users mailing-list when no answer can be found. Private support questions is only answered for a fee or as part of a commercial Squid support contract. If you need commercial Squid support or cost effective Squid and firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, info@marasystems.comReceived on Tue May 06 2003 - 03:28:28 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:17 MST