pptpctrl with high processor load

View: New views
2 Messages — Rating Filter:   Alert me  

pptpctrl with high processor load

by Victor A. Safronov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I use pptpd server for incoming vpn connections. Sometimes I see
pptpctrl processes with very high processor load (50-80%). And there are these
strange entries in /var/log/messages before the problem comes:
Apr 19 21:23:38 tomgate pppd[22847]: No response to 3 echo-requests
Apr 19 21:23:38 tomgate pppd[22847]: Serial link appears to be disconnected.
Apr 19 21:23:38 tomgate pppd[22847]: Connect time 3.2 minutes.
Apr 19 21:23:38 tomgate pppd[22847]: Sent 607094 bytes, received 523881 bytes.
Apr 19 21:23:38 tomgate pppd[22847]: MPPE disabled
Apr 19 21:23:38 tomgate pppd[22847]: Connection terminated.
Apr 19 21:23:38 tomgate pppd[22847]: ioctl(TIOCSETD, N_TTY): Interrupted system call (line 562)
Apr 19 21:23:38 tomgate pppd[22847]: Exit.
After that I have no running pppd processes (for this connection) but i do have
pptpctrl one (that 'eats' processor time).
Where is the problem - in pppd or in pptpd, and how can I fix it?


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: pptpctrl with high processor load

by James Cameron-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What version of pptpd?

Use strace on the pptpctrl process to see what it is doing.

Determine if the pptpctrl is active due to network activity.  If it is,
then high processor load may be normal.

--
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server