Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > OSXS 10.2.6 runaway swapfiles

OSXS 10.2.6 runaway swapfiles
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2000
Status: Offline
Reply With Quote
Jul 24, 2003, 09:37 AM
 
The past couple days I've experienced some major bloating of swapfiles on our Xserve running OS X Server 10.2.6
yesterday before rebooting it, there was about 66GB of swapfiles.
66GB!
i think that's like over 800 of them 80M swapfiles
as for tracking down what caused it, i'm still unsure.
closest I cam was noticing httpd sucking up more than it normally does. but couldn't see where 66GB came from (top said VM 4.5G + 5G or something around there)
and httpd had a couple processes doing about 1.5 to 2G in VSIZE i think
which is more than the usual 40M it seems to typically do

anybody know what might caused this? we were looking at a couple of our web scripts for some loops to make sure that wasn't causing it, other than that i'm not sure.
     
Mac Elite
Join Date: Jan 2002
Location: Live at the BBQ
Status: Offline
Reply With Quote
Jul 26, 2003, 01:22 AM
 
I get the same problem on my 667 Tibook. It usually happens after running the adobe suite (Photoshop, Illustrator, InDesign, etc.), but once I stop running those apps, the swapfiles sometimes continue to balloon to over 1.5GB worth, and this has only been happening since the upgrade to 10.2.6. Now I don't know if OS X has a method for effeciently recycling and managing VM, but something should definitely be implemented, or fixed, if it is somehow broken. Now, I find myself rebooting my machine anywhere from every three days to twice a day, only because of VM behavior.
"Bill Gates can't guarantee Windows... how can you guarantee my safety?"
-John Crichton
     
JLL
Professional Poster
Join Date: Apr 1999
Location: Copenhagen, Denmark
Status: Offline
Reply With Quote
Jul 26, 2003, 06:15 AM
 
Originally posted by jerome9:
The past couple days I've experienced some major bloating of swapfiles on our Xserve running OS X Server 10.2.6
yesterday before rebooting it, there was about 66GB of swapfiles.
What are you running on it besides Apache?

How much RAM does it have?
JLL

- My opinions may have changed, but not the fact that I am right.
     
Zim
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Jul 26, 2003, 06:42 AM
 
I had 8-10 swap files before I said the heck with it and rebooted. I was getting page-outs like crazy and performance was complete crap.

G4/800, 10.2.6, 512M physical RAM.

Mike
     
Senior User
Join Date: Oct 2000
Location: Midwest
Status: Offline
Reply With Quote
Jul 26, 2003, 09:02 AM
 
While your suspected app is running, you can enter 'leaks appname' from the Terminal command line. appname is case sensitive. I have found most Carbon applications have beaucoup memory leaks and that could be causing your problems.

HTH
Craig
     
jerome9  (op)
Fresh-Faced Recruit
Join Date: Nov 2000
Status: Offline
Reply With Quote
Jul 26, 2003, 09:29 AM
 
Xserve Dual 1Ghz i think
1GB or maybe 1.5GB of RAM

Apache, MySQL, Apple File Sharing, FTP, Samba, some PHP websites, a perl cgi website

that's about it for anything running on there besides system stuff i think, usually nothing at all is open locally on the server itself
usually not logged in

I had a co-worker run one of the websites on it on my laptop that i was skeptical of(possible causing loops and such) but no problem, my powerbook has been up 8 days no such swap problems even after running all sorts of stuff
-jerome
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:22 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2