Re: [C-icap-users] logrotate
Status: Beta
Brought to you by:
chtsanti
|
From: Vincenzo C. <vca...@vg...> - 2016-07-14 12:12:08
|
Christos,
some more details, as I have been able to reproduce it. I happens when I do
a service c-icap restart
that clarifies why there was the second line, the "Possibly a term signal
received", and that is fine, but I believe the first error (the one about
the socket) should not happen when closing the process. What do you think?
Thanks
Vincenzo
-----Original Message-----
From: Vincenzo Capuano [mailto:vca...@vg...]
Sent: Thursday, July 14, 2016 12:14 PM
To: 'Tsantilas Christos' <cht...@us...>
Cc: c-i...@li...
Subject: Re: [C-icap-users] logrotate
Hi Christos,
I have some feedback, after running for about 2 days, yesterday I received
this error in the logs, it is not related to the previous issue of the
"relog" because logrotate is not executed at the time logged. And in
addition this time there is the second line that terminates all children.
This error happened only once until today.
Wed Jul 13 20:19:34 2016, main proc, Unexpected error waiting for or reading
events in control socket!
Wed Jul 13 20:19:34 2016, main proc, Possibly a term signal received.
Monitor process going to term all children
Many thanks for your help,
Vincenzo
-----Original Message-----
From: Vincenzo Capuano [mailto:vca...@vg...]
Sent: Tuesday, July 12, 2016 6:49 PM
To: 'Tsantilas Christos' <cht...@us...>
Cc: c-i...@li...
Subject: Re: [C-icap-users] logrotate
Hi Christos,
thank you very much, I've just applied the patch and done a quick test and
all seems good.
Many thanks,
Vincenzo
-----Original Message-----
From: Tsantilas Christos [mailto:cht...@us...]
Sent: Tuesday, July 12, 2016 1:17 PM
To: c-i...@li...
Cc: Vincenzo Capuano <vca...@vg...>
Subject: Re: [C-icap-users] logrotate
Hi Vincenzo,
I am attaching a patch which should solve the problem for c-icap-0.4.3.
The bug does not affect c-icap operation, just cause c-icap to reopen the
control socket after a command is received.
Regards,
Christos
On 07/12/2016 03:21 AM, Vincenzo Capuano wrote:
> Hi Christos,
>
> my logrotate file for c-icap is the following:
>
> /var/log/c-icap/*.log {
>
> weekly
>
> rotate 4
>
> compress
>
> copytruncate
>
> notifempty
>
> missingok
>
> delaycompress
>
> postrotate
>
> # Close and reopen all log files
>
> echo -n "relog" > /var/run/c-icap/c-icap.ctl
>
> endscript
>
> }
>
> But when it is executed running 0.4.3 I get the following message:
>
> "main proc, Unexpected error waiting for or reading events in control
> socket!"
>
> What do you suggest I could check for this error?
>
> Many thanks,
>
> Vincenzo
>
>
>
> ----------------------------------------------------------------------
> -------- What NetFlow Analyzer can do for you? Monitors network
> bandwidth and traffic patterns at an interface-level. Reveals which
> users, apps, and protocols are consuming the most bandwidth. Provides
> multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make
> informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
>
>
>
> _______________________________________________
> C-icap-users mailing list
> C-i...@li...
> https://lists.sourceforge.net/lists/listinfo/c-icap-users
>
----------------------------------------------------------------------------
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports.http://sdm.link/zohodev2dev
_______________________________________________
C-icap-users mailing list
C-i...@li...
https://lists.sourceforge.net/lists/listinfo/c-icap-users
----------------------------------------------------------------------------
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports.http://sdm.link/zohodev2dev
_______________________________________________
C-icap-users mailing list
C-i...@li...
https://lists.sourceforge.net/lists/listinfo/c-icap-users
|