"event_wait returned 0" meaning?

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
JW0914
OpenVPN User
Posts: 43
Joined: Sat Mar 14, 2015 6:53 am

"event_wait returned 0" meaning?

Post by JW0914 » Thu Apr 02, 2015 9:38 pm

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?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: "event_wait returned 0" meaning?

Post by maikcat » Fri Apr 03, 2015 5:30 am

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

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: "event_wait returned 0" meaning?

Post by Traffic » Fri Apr 03, 2015 2:13 pm

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

JW0914
OpenVPN User
Posts: 43
Joined: Sat Mar 14, 2015 6:53 am

Re: "event_wait returned 0" meaning?

Post by JW0914 » Fri Apr 03, 2015 3:21 pm

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!

Post Reply