Jump to content

Too much resources


Recommended Posts

Hi!

 

My web host is complaining that Prestashop is using too much resources from their service, and ask me to solve the issue...

 

The problem is that I am not an expert, and I have no idea on what is creating the problem, to solve it.

 

I got this report:

 

Time: Thu Jul 3 07:57:03 2014 +0100
Account: pintalo1
Process Count: 30 (Not killed)

Process Information:

User:pintalo1 PID:688073 PPID:687915 Run Time:17(secs) Memory:435920(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688123 PPID:685807 Run Time:13(secs) Memory:432192(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688129 PPID:687811 Run Time:12(secs) Memory:429540(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688133 PPID:687655 Run Time:12(secs) Memory:428956(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688134 PPID:687591 Run Time:12(secs) Memory:429344(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688135 PPID:687845 Run Time:12(secs) Memory:424976(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688136 PPID:687904 Run Time:12(secs) Memory:427796(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688137 PPID:687923 Run Time:12(secs) Memory:427732(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688138 PPID:687644 Run Time:12(secs) Memory:428424(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688139 PPID:687909 Run Time:12(secs) Memory:428704(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688141 PPID:687906 Run Time:12(secs) Memory:427976(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688145 PPID:687417 Run Time:11(secs) Memory:424968(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688146 PPID:684339 Run Time:11(secs) Memory:426004(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688153 PPID:687697 Run Time:11(secs) Memory:427284(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688171 PPID:687924 Run Time:11(secs) Memory:424980(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688176 PPID:686818 Run Time:10(secs) Memory:424724(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688177 PPID:684826 Run Time:10(secs) Memory:424088(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688178 PPID:688108 Run Time:10(secs) Memory:424352(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688179 PPID:687549 Run Time:10(secs) Memory:425208(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688180 PPID:687928 Run Time:10(secs) Memory:424552(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688220 PPID:687266 Run Time:9(secs) Memory:419136(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688223 PPID:687916 Run Time:8(secs) Memory:419424(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688226 PPID:687926 Run Time:8(secs) Memory:419684(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688240 PPID:687467 Run Time:6(secs) Memory:416152(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688241 PPID:688166 Run Time:6(secs) Memory:416088(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688243 PPID:688195 Run Time:6(secs) Memory:416088(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688244 PPID:688194 Run Time:6(secs) Memory:415600(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688245 PPID:688165 Run Time:6(secs) Memory:415336(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688246 PPID:688197 Run Time:6(secs) Memory:415828(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php
User:pintalo1 PID:688262 PPID:688094 Run Time:4(secs) Memory:315500(kb) exe:/usr/share/cagefs-skeleton/opt/alt/php56/usr/bin/php-cgi cmd:/usr/bin/php /home2/pintalo1/public_html/index.php

 

Anyone with this problem? Or better, anyone with a solution?

 

Regards,

 

J

Link to comment
Share on other sites

you can (from hosting account) look at the access log.  If you can not find it ask your hosting company.

 

here you can find what pages are being visited and by whom (ip address).

 

if you find bad bots then you can ban the IP,

 

mr. vekia has free module you can start out with

http://www.prestashop.com/forums/topic/245300-module-free-ban-ip-address-block-any-user-you-want/

 

also you can do further searches on how to ban an IP at say ,htaccess level. (you can also ban by inbound domain name).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...