How to manage Memory Overflow in Shopping sites

Discussion in 'Site & Server Administration' started by xianli, Jun 17, 2010.

  1. #1
    Hi,
    We are running a shopping site withe more than 9000 products. Recently I am facing problems in Memory overflow problems which makes the site to go down.

    Please help me, how I could handle and solve this problem.
     
    xianli, Jun 17, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    A little more information about what you have would be good as my reply is going to be more guess work.

    If the cart has memory leaks you'll need to have a programmer resolve the issue, however if the cart is solid then why not just add more RAM.
     
    tolra, Jun 17, 2010 IP
  3. xianli

    xianli Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    We have our dedicated server and as the number of products increased, we are facing this problem
     
    xianli, Jun 17, 2010 IP
  4. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #4
    The I'd say look at optimizing MySQL and code/queries and if that doesn't work increase the memory in the server, I don't know how much memory you have currently.
     
    tolra, Jun 17, 2010 IP
  5. jeffatrackaid

    jeffatrackaid Active Member

    Messages:
    168
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    75
    #5
    What OS? What application framework? What database? What cart software? Too little information to provide any meaningful advice. If it is on Linux, I may be able to give you some pointers, but you've not added enough fuel to get the conversation rolling.
     
    jeffatrackaid, Jun 17, 2010 IP
  6. xianli

    xianli Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    We are using Dedicated Server (2 GB) for our E-comerce site designed in Java. DB used is Mysql. We used Tomcat and Apache. But often the site goes down.
    Sometime, when I restart Tomcat / Apache - the site will work after 503 temporarily down
    and in the other case, I have to restart the server itself to make my site working.

    What could be the problem and what factors should I look into to resolve the problem.
     
    xianli, Jun 21, 2010 IP