1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache Novice

Discussion in 'Apache' started by _db_, Apr 16, 2014.

  1. #1
    Hi Experts,

    I am new to Apache, please help.

    I have written an Apache shared object module (written in Delphi 2010) that acts as a server for my client(s) (written in C# for .NET CF, Windows Mobile 5.0). Clients make SOAP request to my apache module, module talks to database and returns SOAP responses to client(s).

    Task Manager shows httpd processes (incoming requests from clients) each using about 35000K but every once in a while, one of httpd processes will grow in memory/CPU usage and over time reach the cap of 2GB, and then it will crash. Server reports "Internal Server 500" error in this case. (screenshot added).

    I use FastMM to check for memory leaks and it does produce log but there is no memory leaks reported. To make sure I use FastMM properly, I introduced memory leaks and FastMM will log them. So, my assumption is that I do not have memory leak but that somehow memory gets consumed until 2GB threshold is reached and not released until I manually restart Apache.

    Once I manually restart Apache, my devices can again connect.

    How to handle this issue?
    Is there a leak and how to find it or there is something else I could do and what?

    Any help is highly appreciated.
     

    Attached Files:

    _db_, Apr 16, 2014 IP