-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HIgh Memory Footprint of Coovachilli #85
Comments
What were your compile time options? |
I can confirm I'm having the same memory problem as well when compiling from the latest commit, however compiling from a commit going back about a month there's no problems, I'm also compiling with chilliproxy using the makefile from openwrt packages git repo and compiling for ar17xx.
|
chilli --help show My target is ar71xx. |
Can you update from git, try again & report back if issue still persists |
I update current version eb97f84 and try again but the issue still persists. |
I installed old OpenWrt and coova-chilli (1.3.0) there only uses 700kb of RAM, same config. coova-chilli 1.3.1 (latest version that's shipped with OpenWrt or LEDE) and 1.4.0 (git) uses 17mb from the get-go |
I've moved away from coovachilli and went with wifidog for my project, it's memory footprint is far less and allows high throughout as it uses layer3. I ended up integrating a DHCP server into it along with Mac auth - the same as coovachilli, in all I've changed a lot of the original code and fixed a major memory leak which happened on every web server request when new pthreads are created. There's a few companies here in NZ using wifidog and if you send hundreds of http requests to their hotspots they stop responding after some time.
… On 3/11/2017, at 13:38, Denis Mysenko ***@***.***> wrote:
@drkhosla @gareth41 did you find a way to optimise memory use? I turned off a lot of stuff during the compilation, but it has no effect on memory footprint - still 17 Mb per instance
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I compile latest version of Coovachilli (29th July, 2015) in openwrt (r46569) successfully. I am able run chilli in device having RAM 64 Mb but unable to run in device with 32 Mb RAM. I used to run two instances in a device having only 32 Mb RAM older version.
When chilli is not running, free command show
After running first instance of chilli
After running second instance of chilli what I get
Every instance eat almost 17 Mb of RAM which is very high memory footprint for any package in openwrt. It is almost impossible to run chilli in device with 32 or 16 Mb RAM. Is it a memory leak
The text was updated successfully, but these errors were encountered: