Fixing a memleak of simple Linux based multithread TCP server

I need someone to fix a memleak for me in a simple Linux based multithread TCP server. Anyone with good C/C++ knowledge should be able to fix it pretty quickly as the application does not have anything Linux special or dependant. The whole source code is just 310 lines of code!

The problem: The application is running 24/7 without a stop. With the time it runs the amounts of RAM it eats is growing, getting to a state where it eats all the RAM of the server.

Little info about the project:

This is a multithread TCP server listening for connections and spawning a new thread to handle each connection. When a client connects it sends a string with command to the TCP server. The server reads the command and do the appropriate action.

The memleak is probably somewhere related to the variables to which the threads read/write the necessary data

I will provide the project source code once I award the project to the selected bidding freelancer.

Evner: C programmering, C++ Programmering, Linux

Se mere: where is freelancer based in, where is freelancer based, string cplusplus, need info about freelancer, linux project in freelancer, linux programming freelancer, freelancer linux project, cplusplus string, ram c, freelancer 24 7, tcp, tcp programming, tcp client, tcp c#, multithread, linux freelancer, i have whole project of this application, freelancer linux, eats, linux tcp application, linux connections, linux tcp connections, multithread application, tcp connections, client tcp

Om arbejdsgiveren:
( 2 bedømmelser ) Varna, Bulgaria

Projekt ID: #6013220

22 freelancers are bidding on average $24 for this job


I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the lauguage is c++ under linux os. So, Flere

$30 USD på 1 dag
(127 bedømmelser)

I have 8+ years of experience in Linux programming and server administration. I've experienced with various Linux utility programming, server configuration comprising httpd, ftp, mysql etc. Also I'm network administr Flere

$54 USD på 1 dag
(46 bedømmelser)

Did you try to use valgrind to find this leaks? It is very powerful tool which help you to detect incorrect memory management and leaks.

$20 USD på 1 dag
(14 bedømmelser)

I have over seven years of experience in C and have done projects for PC and embedded systems. I already made ​​software for Linux PC, firmware for Embedded Systems and device driver for Linux Embedded. I have also e Flere

$30 USD på 1 dag
(16 bedømmelser)

Good day, Multi-threaded C/C++ tcp/udp servers is my strongest work. (please look at my reviews). I can start right away and get this wrapped up quickly. Just assign it and send me the source/makefile. Mar Flere

$35 USD in 3 dage
(25 bedømmelser)

hi... i can do this. please let me know to start immediately. i can deliver you on time. please initiate communication to discuss further. thanks

$25 USD på 1 dag
(40 bedømmelser)

Hello I am a Masters in embedded systems student and I have wide experience working with multi threaded applications. I have worked extensively with pthreads on Linux. I am also an advanced C programmer and I think i c Flere

$30 USD på 1 dag
(12 bedømmelser)

My offer includes: - Detailed Bug Description. - Well commented bug-fix. - If you want, also some general refactoring of code (without changing coding style of course). - If there are other bugs, i will alo fix the Flere

$20 USD på 1 dag
(11 bedømmelser)

Hi, Probably, you should also provide a client so that one can test all the use cases while searching for the memory leak I'm looking forward to working with you!

$20 USD på 1 dag
(9 bedømmelser)

Hello, This should be fixed quickly with Valgrind. Please check my profile at LinkedIn. Best regards, Bernard Opic

$25 USD på 1 dag
(4 bedømmelser)

Hi, in order to fix your issue I will use valgrind. As server is running as daemon probably, some modifications required to use valgrind with it. Also I will run cppcheck static analyzer to get information of pos Flere

$15 USD in 2 dage
(1 bedømmelse)

Dear Client, Upon learning of your requirement for an application developer, I am submitting my résumé for your consideration. Thank you for considering my qualifications. As you can see from my profile, I posses Flere

$25 USD på 1 dag
(0 bedømmelser)

I'm based in Dallas, Texas. I work with C and Linux in my day job. This is my first bid on this site. I should be able to debug your issue. Provide the environment you are using (linux distribution, compiler used, l Flere

$30 USD på 1 dag
(0 bedømmelser)

A proposal has not yet been provided

$15 USD på 1 dag
(0 bedømmelser)

I read through your job details carefully and I am sure i can execute the job very well.I am a professional java developer with 3+ years of industry experience working on Linux Kernel and Android. I am sure I can comp Flere

$23 USD in 2 dage
(0 bedømmelser)

I have a lot of experience in multithreaded applications (c/c++/python/java/.Net). And in case you have only 310 lines of code it should be not so hard to find the root cause.

$20 USD på 1 dag
(0 bedømmelser)

I have worked on linux multithread applications and resolved similar kind of issues you are facing . Thank you.

$25 USD in 2 dage
(0 bedømmelser)

During my undergraduate education I was able to collect extensive knowledge in debugging and analysing C/C++ code. To find the memory leak I will use GProf as a memory profiler in combination with GDB as debugging tool Flere

$10 USD på 1 dag
(0 bedømmelser)

so basically I wanted to bid the lowest possible bid just to get the project. I'm a senior at LUMS CS major, I'm good with programming, I'm bidding this low so you can just give this to me and I can get done with it in Flere

$10 USD på 1 dag
(0 bedømmelser)

i am working on last 3 year on c based frame work ,where i write more then 20k line of code, i am also write 4 C language based library and log services,maintenance services and many thing from a starting in this pro Flere

$25 USD på 1 dag
(0 bedømmelser)