If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / How to optimize my site to stop the downtime error: Disk /dev/sda6 (/tmp) 100 %

How to optimize my site to stop the downtime error: Disk /dev/sda6 (/tmp) 100 %

Locked

Started by vandiermen on 23 Jun 2009, 10:25 AM · Views: 1,884

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
23 Jun 2009, 10:25 AM
#1
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Post #1 by vandiermen

I have a 1.3.7 Zencart that gets 4000+ hits per day. The 2 servers I have put it on eventually start going down (downtime) with cpanel server status error: Disk /dev/sda6 (/tmp) 100 %

I was wondering if there is any tricks to optimize my site to store or record less statistics or run more efficiently to stop Disk /dev/sda6 (/tmp) getting maxed out.

23 Jun 2009, 10:28 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

You mentioned the /tmp/ volume, so it's probably not part of your Zen Cart files itself.

Nevertheless, I'll ask: How many files are in your store's /cache/ folder? What are the patterns of the filenames there?
Ideally there should only be a couple files there. But if there are a bunch of log files there, you'll want to turn off the logging and delete the excess files.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Jun 2009, 10:33 AM
#3
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Post #3 by vandiermen

there are 2 files;
index.php [1.45KB]
.htaccess

in relation to my /home/public_html/
my /home/tmp has 7MB's of files

I dont know what part of my site use's Disk /dev/sda6 (/tmp)

23 Jun 2009, 10:38 AM
#4
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Post #4 by vandiermen

I have to say I share this server with some other sites (but this is the busiest), and I think my server just does not like the total usage (which this site is the main offender). I am planning to put this site into its own hosting to remedy this problem.

23 Jun 2009, 10:39 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #5 by drbyte

I suggest you talk to your hosting company about the matter, to have them determine what's creating and using the files in the /tmp volume. That's a server system thing, not a Zen Cart thing.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.