Page 1 of 1

"event_wait returned 0" meaning?

Posted: Thu Apr 02, 2015 9:38 pm
by JW0914
I'm having a bit of difficulty narrowing down exactly what "event_wait returned 0" means. All google searches reference log files from troubleshooting, but not what this specific message means.

It only occurs when the server is set to UDP and disappears if reconfigured for TCP... is this message generated since there's no confirmation of a connection received on UDP?

Is there a way to prevent this message from generating in the log, as it generates about once per second and given a day or two would create a fairly substantial log size (which is what my concern is). All vpn clients can connect to the server fine, so I'm doubtful it's an error message and more of a status message.

I currently have the verbosity set to 11, and I'm assuming setting it lower would probably prevent the message from being logged... is there an explanation somewhere that tells exactly what is, and is not, logged at each verbosity level?

Re: "event_wait returned 0" meaning?

Posted: Fri Apr 03, 2015 5:30 am
by maikcat

Code: Select all

 /*dmsg (D_PS_PROXY_DEBUG, "PORT SHARE PROXY: event_wait returned %d", n_events);*/
this is located inside ps.c ,

because i am not a developer i cant tell you by reading the sources what exactly this is about.. :(

maybe someone from the dev team can help?

Michael

Re: "event_wait returned 0" meaning?

Posted: Fri Apr 03, 2015 2:13 pm
by Traffic
JW0914 wrote:is there an explanation somewhere that tells exactly what is, and is not, logged at each verbosity level?
You may find this helpful:
https://github.com/OpenVPN/openvpn/blob ... errlevel.h

Re: "event_wait returned 0" meaning?

Posted: Fri Apr 03, 2015 3:21 pm
by JW0914
Traffic wrote:
JW0914 wrote:is there an explanation somewhere that tells exactly what is, and is not, logged at each verbosity level?
You may find this helpful:
https://github.com/OpenVPN/openvpn/blob ... errlevel.h
It definitely was =] Thanks!