PDA

View Full Version : 2 Days ago my site is SUSPEND SO bad Feel


tanzeelniazi
11-29-2013, 08:10 AM
Hello everyone i am so sad because 2 days ago my site is Suspend and server have no access when i email to my server he says your site using physically memory so high i dont know how using high and server suspend my site. so feeling is so bad and server support says use VPS but every price is so high so i cant afford this.
I want to know how my site using memory so high ? any method for checking ?
How i optimize my script i dont know what script eating memory ?
i have not a big traffic daily online members 12 15 and maximum 20. and guest in 24 hours like 12 to 1500 only.
How i check my script and how to optimize ?
how to optimize script using .htaccess ? (i dont know how to use .htaccess)
Please everyone give me suggestion and tell me Step by Step please.........

Today i buy new server and i have a backup when i upload but i am worried about new server so i want to optimize first.
Thank you

Disco_Dave
11-29-2013, 08:28 AM
I could help a bit with .htaccess, what types of mods are you using that would be draining all your memory.

tbworld
11-29-2013, 08:32 AM
Start by disabling 3rd party modifications. The default vBulletin package should run fine on most servers. As you add a modification you should closely observe the increased resources the script is taking. There are tons of information here on vbulletin.org on optimizing your server/vbulletin setup.

I am sorry you are having problems.

tanzeelniazi
11-29-2013, 09:33 AM
I could help a bit with .htaccess, what types of mods are you using that would be draining all your memory.

i am using so many hacks Like
https://vborg.vbsupport.ru/showthread.php?t=233329
https://vborg.vbsupport.ru/showthread.php?t=290368
https://vborg.vbsupport.ru/showthread.php?t=232811
https://vborg.vbsupport.ru/showthread.php?t=294164
https://vborg.vbsupport.ru/showthread.php?t=253516
https://vborg.vbsupport.ru/showthread.php?t=228077
https://vborg.vbsupport.ru/showthread.php?t=286140
https://vborg.vbsupport.ru/showthread.php?t=234192
https://vborg.vbsupport.ru/showthread.php?t=257294
https://vborg.vbsupport.ru/showthread.php?t=293412
https://vborg.vbsupport.ru/showthread.php?t=241754
https://vborg.vbsupport.ru/showthread.php?t=235287
https://vborg.vbsupport.ru/showthread.php?t=238351
https://vborg.vbsupport.ru/showthread.php?t=297654
https://vborg.vbsupport.ru/showthread.php?t=236685
https://vborg.vbsupport.ru/showthread.php?t=282525
https://vborg.vbsupport.ru/showthread.php?t=290639
https://vborg.vbsupport.ru/showthread.php?t=244053
https://vborg.vbsupport.ru/showthread.php?t=236585
:(

--------------- Added 1385721330 at 1385721330 ---------------

Start by disabling 3rd party modifications. The default vBulletin package should run fine on most servers. As you add a modification you should closely observe the increased resources the script is taking. There are tons of information here on vbulletin.org on optimizing your server/vbulletin setup.

I am sorry you are having problems.

sir can you give me link where i can read i really dont know about html coding i buy new host but i am worried i want to optimize first i use Tf ideal dark skin and so many hack using

--------------- Added 1385721447 at 1385721447 ---------------

This is my post before i post about htaccess
https://vborg.vbsupport.ru/showpost.php?p=2459802&postcount=30

Disco_Dave
11-29-2013, 09:38 AM
None of those stand out to me, have you more than you've listed?

tanzeelniazi
11-29-2013, 10:20 AM
[DBTech] vBDonate Donations - PayPal Donate Manager v1 (vB4)
https://vborg.vbsupport.ru/showthread.php?t=287053
Cute PostMan Notification Mod
https://vborg.vbsupport.ru/showthread.php?t=285891
Email Reminder for inactive users
https://vborg.vbsupport.ru/showthread.php?t=237531
Disable Member Homepage Profile Option based on Post Count or Usergroup by BOP5
https://vborg.vbsupport.ru/showthread.php?t=256383
vt.Lai VBB Redirect Link 4.1 For vBB 4-Make Redirect page with outbound link
https://vborg.vbsupport.ru/showthread.php?t=293547
Hide What's going on from guests!
https://vborg.vbsupport.ru/showthread.php?t=237485
Threads Color Mark
https://vborg.vbsupport.ru/showthread.php?t=244053
[AJAX] Post Thank You Hack
https://vborg.vbsupport.ru/showthread.php?t=231666
vFCoders - Hide Hack v4
https://vborg.vbsupport.ru/showthread.php?t=282328
Hide Links from Guests
https://vborg.vbsupport.ru/showthread.php?t=230556
Websites who have referred today
https://vborg.vbsupport.ru/showthread.php?t=256155
Image Resizer - Using nCode Script
https://vborg.vbsupport.ru/showthread.php?t=237650
[DBTech] vBActivity & Awards v3 (vB4)
https://vborg.vbsupport.ru/showthread.php?t=236973
Usergroup Color Bar Legend
https://vborg.vbsupport.ru/showthread.php?t=228607
Spiders disply in who' online

and also i am using Vbadvance 4.1.3

Krusty1231
11-29-2013, 11:41 AM
Just out of curiosity you are not on Hostgator are you? I run pretty much the same mods as you, and got a crappy notice from Hostgator my server use was high just the other day.

I sent them this - (just a snippet)

Issue Description:

Hi. I started to receive this message today. I went back through my VBulletin installation which was running fine until last night when the forum disabled message started to appear.

In the last 24 hours I have upgraded two mods to my forum, and I added a small snippet of code to my postbit legacy file in my styles.

These were the only changes made in the last 24 hours before I started having that disabled message appear.

blah blah.

That was sent on the 23rd of this month. I never got a reply back from them, and my site returned to normal a few hours after I sent my request ticket.

I deleted the post I made here as it would appear the host was the issue, and not anything I did.

Just tossing it out there for ya.

Good luck.

tanzeelniazi
11-29-2013, 05:01 PM
what snippet code ?
my account is already suspended and today i buy a new host .
i want to know how my site using high memory

Lynne
11-29-2013, 05:23 PM
Try disabling your modifications/plugins and see if you still have this problem with your memory usage.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

tanzeelniazi
11-29-2013, 05:53 PM
Dear Lynne sir how i check memory usage ?

Lynne
11-29-2013, 09:23 PM
That is something that would be a server function/app and you would need to ask your host about it.

AusPhotography
11-30-2013, 02:52 AM
Dear Lynne sir how i check memory usage ?

This might help... https://vborg.vbsupport.ru/showthread.php?t=263910

tanzeelniazi
11-30-2013, 03:07 PM
see this usage some time low and some time high
https://vborg.vbsupport.ru/external/2013/11/1.jpg?1

gsmlover4u
12-01-2013, 05:08 AM
what is your forum link ?

tanzeelniazi
12-13-2013, 09:32 PM
Hello sir need help my account is suspend again :(
need help please
when i email to my server
he says
I could see that your domain is consuming more resources in server and causing to webserver down. Please refer the below pasted log snippet.

===========
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1022881 myhome 20 0 141m 27m 7760 R 11.6 0.2 0:03.19 lsphp5:/home/myhome/public_html/showthread.php
1023002 myhome 20 0 146m 34m 7668 R 11.6 0.2 0:02.46 lsphp5:/home/myhome/public_html/showthread.php
1023197 myhome 20 0 145m 32m 7580 R 11.6 0.2 0:00.46 lsphp5:/home/myhome/public_html/index.php
1022880 myhome 20 0 137m 25m 7676 R 11.3 0.2 0:03.19 lsphp5:/home/myhome/public_html/showthread.php
1022971 myhome 20 0 143m 31m 7676 R 11.3 0.2 0:02.79 lsphp5:/home/myhome/public_html/showthread.php
1022982 myhome 20 0 141m 29m 7680 R 11.3 0.2 0:02.71 lsphp5:/home/myhome/public_html/showthread.php
1022958 myhome 20 0 149m 34m 7752 R 11.0 0.2 0:02.97 lsphp5:/home/myhome/public_html/showthread.php
1023138 myhome 20 0 141m 27m 7700 R 11.0 0.2 0:01.69 lsphp5:/home/myhome/public_html/showthread.php
1022927 myhome 20 0 147m 34m 7632 R 10.6 0.2 0:03.09 lsphp5:/home/myhome/public_html/showthread.php
1022958 myhome 20 0 144m 30m 7752 R 10.3 0.2 0:05.34 lsphp5:/home/myhome/public_html/showthread.php
1022982 myhome 20 0 140m 29m 7680 R 10.3 0.2 0:05.07 lsphp5:/home/myhome/public_html/showthread.php
1022880 myhome 20 0 147m 35m 7676 R 10.0 0.2 0:05.58 lsphp5:/home/myhome/public_html/showthread.php
1022881 myhome 20 0 149m 35m 7760 R 10.0 0.2 0:05.54 lsphp5:/home/myhome/public_html/showthread.php
1022971 myhome 20 0 140m 29m 7676 R 10.0 0.2 0:05.15 lsphp5:/home/myhome/public_html/showthread.php
1023002 myhome 20 0 141m 29m 7668 R 10.0 0.2 0:04.85 lsphp5:/home/myhome/public_html/showthread.php
1023138 myhome 20 0 150m 35m 7700 R 10.0 0.2 0:04.05 lsphp5:/home/myhome/public_html/showthread.php
1023197 myhome 20 0 141m 29m 7680 R 10.0 0.2 0:02.86 lsphp5:/home/myhome/public_html/showthread.php
1023275 myhome 20 0 150m 36m 7928 R 10.0 0.2 0:01.69 lsphp5:/home/myhome/public_html/showthread.php
==============
nl1 [~]# mysqladmin proc | grep myhome
| 1187 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
| 1188 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
| 1190 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
| 1191 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
| 1192 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
| 1193 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
| 1198 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
| 1202 | myhome_Friends | localhost | myhome_VB | Sleep | 1 | | |
| 1203 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
| 1204 | myhome_Friends | localhost | myhome_VB | Sleep | 0 | | |
===========

--------------- Added 1386974030 at 1386974030 ---------------

please help :(

--------------- Added 1386974203 at 1386974203 ---------------

can i have problem in Domain need transfer the domain ?
or problem in site please explain so much worried :(

ozzy47
12-13-2013, 10:18 PM
Link to the site?

Lynne
12-14-2013, 12:08 AM
*Exactly* what did you do to change things on your site between the time it was suspended last time and this time?

tanzeelniazi
12-14-2013, 05:58 AM
i never change anything only buy a new server and restore backup :(

--------------- Added 1387009617 at 1387009617 ---------------

Ozzy Check PM please

--------------- Added 1387010805 at 1387010805 ---------------

If i use this
define('DISABLE_HOOKS', true);
now site decrease cpu usage and working fine :(

--------------- Added 1387011177 at 1387011177 ---------------

again usage 100% if disable hooks

--------------- Added 1387016129 at 1387016129 ---------------

Today i rec 1 more email from server he says:

Kindly be informed your domain registrar is not an issue here. Your domain is consuming more resources which need to be optimized.

Please optimize your domain and avoid further issues.
how to optimize Domain ?

--------------- Added 1387037384 at 1387037384 ---------------

Now i find i am under attack DDOS help please so many Ips going to 1 thread
how to block these Ips please help

--------------- Added 1387059536 at 1387059536 ---------------

Some one trying to attack in 1 file how to Block Urgent help please please
Attack in showthread.php
I could see that your domain still consuming more I/O usage in server. Please refer the below pasted log snippet.

============
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

490886 MyHome 20 0 140m 27m 7500 R 10.3 0.2 0:01.06 lsphp5:/home/MyHome/public_html/showthread.php
490892 MyHome 20 0 138m 25m 7500 R 10.3 0.2 0:01.02 lsphp5:/home/MyHome/public_html/showthread.php
490885 MyHome 20 0 141m 28m 7500 R 10.0 0.2 0:01.09 lsphp5:/home/MyHome/public_html/showthread.php
490888 MyHome 20 0 138m 26m 7500 R 10.0 0.2 0:01.02 lsphp5:/home/MyHome/public_html/showthread.php
490889 MyHome 20 0 138m 26m 7500 R 10.0 0.2 0:01.03 lsphp5:/home/MyHome/public_html/showthread.php
490891 MyHome 20 0 141m 29m 7508 R 10.0 0.2 0:01.02 lsphp5:/home/MyHome/public_html/showthread.php
490893 MyHome 20 0 138m 25m 7500 R 10.0 0.2 0:01.00 lsphp5:/home/MyHome/public_html/showthread.php
490905 MyHome 20 0 138m 26m 7500 R 10.0 0.2 0:00.98 lsphp5:/home/MyHome/public_html/showthread.php
490906 MyHome 20 0 137m 24m 7500 R 10.0 0.2 0:00.95 lsphp5:/home/MyHome/public_html/showthread.php
490910 MyHome 20 0 145m 32m 7500 R 10.0 0.2 0:00.88 lsphp5:/home/MyHome/public_html/showthread.php
490664 MyHome 20 0 138m 26m 7416 R 5.0 0.2 0:00.15 lsphp5:/home/MyHome/public_html/showthread.php
490665 MyHome 20 0 138m 25m 7400 R 5.0 0.2 0:00.15 lsphp5:/home/MyHome/public_html/showthread.php
490668 MyHome 20 0 137m 25m 7368 R 4.3 0.2 0:00.13 lsphp5:/home/MyHome/public_html/showthread.php
490669 MyHome 20 0 137m 24m 7364 R 3.7 0.2 0:00.11 lsphp5:/home/MyHome/public_html/showthread.php
490670 MyHome 20 0 137m 24m 7364 R 3.3 0.2 0:00.10 lsphp5:/home/MyHome/public_html/showthread.php
490671 MyHome 20 0 137m 24m 7380 R 3.3 0.2 0:00.10 lsphp5:/home/MyHome/public_html/showthread.php
490672 MyHome 20 0 137m 24m 7380 R 3.0 0.2 0:00.09 lsphp5:/home/MyHome/public_html/showthread.php
490673 MyHome 20 0 136m 24m 7380 R 2.7 0.2 0:00.08 lsphp5:/home/MyHome/public_html/showthread.php
490674 MyHome 20 0 137m 24m 7364 R 2.7 0.2 0:00.08 lsphp5:/home/MyHome/public_html/showthread.php
490677 MyHome 20 0 136m 23m 7336 R 2.0 0.1 0:00.06 lsphp5:/home/MyHome/public_html/showthread.php
490676 MyHome 20 0 135m 22m 7208 R 1.7 0.1 0:00.05 lsphp5:/home/MyHome/public_html/showthread.php
490678 MyHome 20 0 135m 22m 7192 R 1.7 0.1 0:00.05 lsphp5:/home/MyHome/public_html/showthread.php
490679 MyHome 20 0 134m 21m 7152 R 1.3 0.1 0:00.04 lsphp5:/home/MyHome/public_html/showthread.php
490680 MyHome 20 0 128m 15m 6752 R 0.7 0.1 0:00.02 lsphp5:/home/MyHome/public_html/showthread.php
490681 MyHome 20 0 125m 11m 6304 R 0.3 0.1 0:00.01 lsphp5:/home/MyHome/public_html/showthread.php

Please help

DivisionByZero
12-15-2013, 02:01 AM
You can get a VPS for around $10 a month

Simon Lloyd
12-16-2013, 07:43 AM
Just block their IP in .htaccess!, this generator will help if you dont know how to do it http://www.htaccesstools.com/block-ips/