Fabio, It ran all night without a hitch with reload=true set.
Jeff --- On Mon, 3/22/10, Jeff Otterson <otter...@yahoo.com> wrote: From: Jeff Otterson <otter...@yahoo.com> Subject: Re: [Kepler-Project] What's really needed for xavante/cgilua? To: "Kepler Project mailing list" <kepler-project@lists.luaforge.net> Date: Monday, March 22, 2010, 8:26 PM Perhaps I spoke too soon. I've never seen this error before, but I've gotten it twice now. This is from a page that uses the refresh header to reload itself -- essentially a status page that is displaying status from the device: ======== WSAPI ERROR DURING RESPONSE PROCESSING: <pre>/usr/local/share/lua/5.1/coxpcall.lua:41: attempt to call upvalue 'f' (a nil value) stack traceback: /usr/local/share/lua/5.1/coxpcall.lua:41: in function </usr/local/share/lua/5.1/coxpcall.lua:41>/usr/local/share/lua/5.1/coxpcall.lua:41: attempt to call upvalue 'f' (a nil value) stack traceback: /usr/local/share/lua/5.1/coxpcall.lua:24: in function </usr/local/share/lua/5.1/coxpcall.lua:22> (tail call): ? (tail call): ? /usr/local/share/lua/5.1/wsapi/common.lua:87: in function 'send_content' /usr/local/share/lua/5.1/wsapi/xavante.lua:133: in function </usr/local/share/lua/5.1/wsapi/xavante.lua:92> (tail call): ? (tail call): ? (tail call): ? /usr/local/share/lua/5.1/xavante/httpd.lua:58: in function </usr/local/share/lua/5.1/xavante/httpd.lua:36> </pre> I have not yet dug in to the code to try to see why it is happening. This cgilua page will always give this error until I stop and restart xavante. Others will still work. Could this be related to the reload logic? I am going to turn the reload back on and see if it continues to occur. It takes several hours for the problem to show up... Jeff --- On Mon, 3/22/10, Jeff Otterson <otter...@yahoo.com> wrote: From: Jeff Otterson <otter...@yahoo.com> Subject: Re: [Kepler-Project] What's really needed for xavante/cgilua? To: "Kepler Project mailing list" <kepler-project@lists.luaforge.net> Date: Monday, March 22, 2010, 4:22 PM Hi Fabio, I pulled the latest wsapi and cgilua from github -- it is all working now. Upload works fine, no more memory leak. Thanks so much for fixing this stuff so quickly. My app performs so much better without reload turned on, too. Most excellent. Thanks, Jeff --- On Mon, 3/22/10, Fabio Mascarenhas <mascaren...@acm.org> wrote: From: Fabio Mascarenhas <mascaren...@acm.org> Subject: Re: [Kepler-Project] What's really needed for xavante/cgilua? To: "Kepler Project mailing list" <kepler-project@lists.luaforge.net> Date: Monday, March 22, 2010, 1:50 PM On Mon, Mar 22, 2010 at 1:16 PM, Jeff Otterson <otter...@yahoo.com> wrote: As for the memory leak, my app has a page that uses a "refresh" header, and the page reloads every 30 seconds. Prior to upgrading to copas 1.1.6, wsapi 1.3.2, and xavante 2.2, the app would run for days without a problem. (it was using copas 1.1.5, wsapi 1.2, and xavante 2.1...) After I switched to use the latest stuff yesterday, the memory on my embedded system would be exhausted after about an hour. If there is some way I can test (maybe just upgrade copas?) to help find the bug, I'm willing. Don't worry, I found and plugged the memory leak, can you fetch WSAPI from github and test? My local tests now show flat memory usage even with reload. The leak did not affect just reload, but was only serious in that scenario, I guess that is why it went undetected. I will make a bugfix release of WSAPI later. --Fabio Mascarenhas -----Inline Attachment Follows----- _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/ -----Inline Attachment Follows----- _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/ -----Inline Attachment Follows----- _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/