Hello,
When I try to run my scenario under the latest master branch, the nic_drv stops working with the following message:
[init] child "nic_drv" announces service "Nic" [init -> nic_drv] resource_request: ram_quota=1642496 [init -> nic_drv] used before freeing emergency=2478080 [init -> nic_drv] used after freeing emergency=2461696 [init] child "nic_drv" requests resources: ram_quota=1642496
I've tried giving it and its client (in this case vfs with lxip) more RAM, but to no avail. Currently the config looks like this:
<start name="vfs"> <resource name="RAM" quantum="36M"/> <provides> <service name="File_system"/> </provides> <config ld_verbose="yes"> <vfs> <lxip ip_addr="$ip_addr" netmask="255.255.255.0" gateway="$gateway_ip_addr" nameserver="8.8.8.8"/> </vfs> <libc/> <default-policy writeable="yes" /> </config> <route> <service name="Nic"> <child name="nic_drv"/> </service> <any-service> <parent/> <any-child/> </any-service> </route> </start>
<start name="nic_drv"> <resource name="RAM" quantum="4M"/> <provides> <service name="Nic"/></provides> <config verbose="yes"> <libc stdout="/dev/log" stderr="/dev/log"/> <vfs> <dir name="dev"> <log/> </dir> </vfs> </config> </start>
What could I be doing wrong?
Hello Boris,
On Mon, May 22, 2017 at 10:24:32AM +0200, Boris Mulder wrote:
When I try to run my scenario under the latest master branch, the nic_drv stops working with the following message:
[init] child "nic_drv" announces service "Nic" [init -> nic_drv] resource_request: ram_quota=1642496 [init -> nic_drv] used before freeing emergency=2478080 [init -> nic_drv] used after freeing emergency=2461696 [init] child "nic_drv" requests resources: ram_quota=1642496
Unfortunately, I can't reproduce this issue with master (f6386c6ce1) and "make run/lwip KERNEL=nova". Could you please provide a bit more context about the used test case and hardware configuration? Does any other component complain about insufficient RAM?
Regards