Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2010
    Location
    Chennai
    Posts
    76

    Maximum size of /var?

    Hello Everyone!

    One of my server's /var partition reached its maximum extent due to large mysql datas(15GB). So I moved mysql to /home. Now during high traffic, FTP and Spamd gets slow/fails frequently.

    I guess, this is because of having Mysql(Usually large data transfer) and FTP in same partition(/home)

    Am I correct? If so, In my new server, can I increase /var to 25GB?
    Increasing /var to 25GB will have any problems or there is any maximum limit for /var?

    Suggestions Please..
    Thanks

  2. #2
    Join Date
    Dec 2010
    Posts
    278
    The theoretical limit for /var would be in terabytes/petabytes, I wouldn't worry about a couple of gig.
    Before spending money on a new server, look at the wa (wait) value in top, if this is high, its clear that its a disk IO problem.
    You could also increase RAM to allow for more diskcaching and allow mysql to run smoother. Could you display the CPU lines of 'top' and the response of 'free -m'.

    Hope this helped,

    Marty

  3. #3
    Join Date
    Jun 2010
    Posts
    271
    only top can not give you the right results its better to use tools like iostat, top, vmstat. system performance issues are really hard to find out in depth knowledge of process and OS can give you desired result.

  4. #4
    Join Date
    Jul 2010
    Location
    Chennai
    Posts
    76
    Thanks for the reply.
    Here is the top and Iostat result

    Code:
    [email protected][~]# top
    top - 15:32:27 up  8:14,  2 users,  load average: 0.33, 0.47, 0.51
    Tasks: 817 total,   2 running, 813 sleeping,   0 stopped,   2 zombie
    Cpu(s):  7.6%us, 10.0%sy,  0.0%ni, 75.7%id,  4.2%wa,  0.0%hi,  2.5%si,  0.0%st
    Mem:   8053084k total,  7931648k used,   121436k free,   597624k buffers
    Swap:  4192924k total,      172k used,  4192752k free,  4946736k cached


    Code:
    [email protected][~]# iostat
    Linux 2.6.18-338.5.1.el5.lve0.8.29      05/10/2011
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              11.04    0.41    9.93   27.45    0.00   51.16
    
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    sda              13.02       104.29         0.01    3107568        216
    sda1             13.02       104.27         0.01    3106984        216
    sdb              90.97       733.11      1372.41   21845606   40895910
    sdb1              0.00         0.07         0.00       1950          6
    sdb2             11.75        68.26       211.88    2033943    6313632
    sdb3             16.27        52.21       294.33    1555927    8770592
    sdb4              0.00         0.00         0.00          6          0
    sdb5              0.00         0.05         0.00       1479         40
    sdb6              0.94         7.48        18.37     222834     547440
    sdb7              2.95         3.16       279.93      94074    8341424
    sdb8             59.05       601.87       567.90   17934929   16922776
    Thanks

  5. #5
    Join Date
    Jun 2010
    Posts
    271
    iostat -dkx 60

    run above mentioned command when system do not behave properly and then paste the output here. above output which you have posted seems normal, have not found anything wrong.

Similar Threads

  1. Plesk maximum mailbox size
    By norfstar in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 03-28-2011, 09:42 AM
  2. maximum file upload size
    By maruf22 in forum Reseller Hosting
    Replies: 6
    Last Post: 08-22-2010, 05:28 AM
  3. usr and var size - Size Survey
    By ParagonHost in forum Dedicated Server
    Replies: 8
    Last Post: 06-26-2010, 03:14 PM
  4. Maximum Profile Size Breaks Layout
    By Jamie Harrop in forum WHT Announcements, Feedback and Questions
    Replies: 3
    Last Post: 11-20-2008, 11:01 AM
  5. maximum cookie size and referral tracking
    By breps in forum Programming Discussion
    Replies: 2
    Last Post: 03-29-2006, 02:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •