Help - Search - Members - Calendar
Full Version: See users connected
The Planet Forums > Security > General Security > UNIX Security
nibb
Sometimes i try to connected to my plesk server and it gives an error like:
ser admin@localhost has already more than 'max_user_connections' active connections

How is this possible? Im the only admin user.
And then i log into the server and run
ps -aux

and see tons of root users. Im not sure, but maybe the machine is compromised since the mail server tends to g o down as well when this happens.

How can i see which users are connected at the time to the server, to see if this root are me of where they come from.

Normally on the SSH the users shows like this:
psaadm 27629 0.0 2.1 57672 22140 ? S 00:51 0:02 /usr/local/psa/admin/bin/httpsd
psaadm 27630 0.0 1.8 56724 18772 ? S 00:51 0:03 /usr/local/psa/admin/bin/httpsd
psaadm 27631 0.0 1.2 56248 13188 ? S 00:51 0:01 /usr/local/psa/admin/bin/httpsd
psaadm 27635 0.0 1.8 56428 18824 ? S 00:51 0:02 /usr/local/psa/admin/bin/httpsd
psaadm 27636 0.0 1.6 57308 16768 ? S 00:51 0:01 /usr/local/psa/admin/bin/httpsd
psaadm 27637 0.0 1.7 57552 17760 ? S 00:51 0:03 /usr/local/psa/admin/bin/httpsd
psaadm 27638 0.0 1.4 56240 14716 ? S 00:51 0:00 /usr/local/psa/admin/bin/httpsd
psaadm 27647 0.0 1.5 56584 16188 ? S 00:51 0:01 /usr/local/psa/admin/bin/httpsd
psaadm 27677 0.0 1.9 56624 20132 ? S 00:52 0:02 /usr/local/psa/admin/bin/httpsd


How is this possible so much plesk admins connected.
kfukasawa
If I remember right... Plesk uses the admin@localhost account to access the MySQL database server. Therefore, there can be a MySQL connection for admin@localhost for each user that is logged into Plesk.
TheUniverses
Are you referring to a mysql message or an apache message? There is a max clients setting in the apache config for Plesk CP (port 8443).
nibb
QUOTE (jester)
Are you referring to a mysql message or an apache message? There is a max clients setting in the apache config for Plesk CP (port 8443).


Did not know that. I guess its a mysql message, since the message is displayed in the browser when you try to log into plesk.
TheUniverses
If it was a apache message, it would have had the

Apache/1.xxxx Server at aaaa.com Port 8443
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.