Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Server going down. Swap file... Details »»
Server going down. Swap file...
Version: , by toneloc toneloc is offline
Developer Last Online: Aug 2017 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-04-2007 Last Update: Never Installs: 0
 
No support by the author.

Hey guys,

First, I have a custom template, but I don't think it is that fancy. Some coder created it to match the look and feel of my site.

My server has been going down and I've noticed that the "swap" is at 100% when it goes down.

Can the "processes" cause the "swap" file to get overloaded resulting in the server to go down?

These are my processes right now-

Top Process %CPU 27.0 httpd [******.com] [/boards/clientscript/vbulletin_menu.js?v364]

Top Process %CPU 7.2 httpd [******.com] [/boards/showthread.php?gotonewpost&t14436]

Top Process %CPU 6.6 httpd [******.com] [/boards/showthread.php?p164646]

Swap file is currently at 60%.

Thanks for your help!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-04-2007, 11:23 PM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post your system specs. OS, number of CPUs, amount of RAM, total swap allocated, whether is a shared,vps or dedicated box, the output of free, the top part of top, and the output from vmstat 5 5

The short answer is yes, it can
Reply With Quote
  #3  
Old 09-04-2007, 11:51 PM
toneloc toneloc is offline
 
Join Date: Jan 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is my server specs. I only have one website on my server so far-

Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Pentium(R) 4 CPU 2.26GHz
Processor #1 speed: 2264.864 MHz
Processor #1 cache size: 512 KB

Memory Information
Memory: 1025292k/1040320k available (2043k kernel code, 14276k reserved, 846k data, 232k init, 122816k highmem)

System Information
Linux cpanel.*****.com 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux

Physcial Disks
hdb: Maxtor 6L200P0, ATA DISK drive
hdb: max request size: 512KiB
hdb: 398297088 sectors (203928 MB) w/8192KiB Cache, CHS=24792/255/63, UDMA(133)
hdb: cache flushes supported


Current Memory Usage
total used free shared buffers cached
Mem: 1027276 985968 41308 0 7948 237292
-/+ buffers/cache: 740728 286548
Swap: 3669296 2406088 1263208
Total: 4696572 3392056 1304516


Current Disk Usage
Filesystem Size Used Avail Use% Mounted on
/dev/hdb7 2.0G 174M 1.7G 10% /
/dev/hdb1 99M 9.9M 84M 11% /boot
/dev/hdb2 145G 8.6G 129G 7% /home
/dev/hdb3 20G 2.8G 16G 15% /usr
/dev/hdb5 15G 6.2G 7.7G 45% /var
tmpfs 502M 0 502M 0% /dev/shm
/dev/hdb8 2.0G 39M 1.8G 3% /tmp
Reply With Quote
  #4  
Old 09-13-2007, 11:27 PM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is a truly worrying amount of swap being used. What does top look like over time, what is your server load and iowait?

My guess is 1 of 2 things
1) You have been horribly hacked, and someone is using your server as a fileserver (this happened to me once)

2) Your system is very badly configured...so badly in fact that it is not possible to fix it via posting on vb.org. You need to get someone you trust who knows something about system administration to check your apache, php and mysql configurations, and to ensure that there are no extraneous processes on the server.
Reply With Quote
  #5  
Old 09-14-2007, 05:13 AM
lighti lighti is offline
 
Join Date: May 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks to me you are running out of ram. I recommend upgrading your ram soon. What is making your loads so high is that your server is having to use your Swap memory and swapd to run the programs you require and it really eats up your CPU because its not nearly as fast as your ram is. So add another gb or 2 of ram and you should be a bit more stable.
Reply With Quote
  #6  
Old 09-21-2007, 10:57 AM
turkforum turkforum is offline
 
Join Date: Oct 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can try lowering your maximum child process and max clients # at httpd.conf, ask for help at vbulletin.com you will find your solution over there
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03950 seconds
  • Memory Usage 2,241KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete