jazz icon indicating copy to clipboard operation
jazz copied to clipboard

actix web too many incoming messages error

Open naturallymitchell opened this issue 5 years ago • 4 comments

thread 'arbiter:958ce9ab-d45c-4a5f-992b-f000d803e32e:actor' panicked at 'Use Self::Context::notify() instead of direct use of address', /home/mitchell/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-0.7.5/src/mailbox.rs:103:17

this doesn't happen with 0.4.x and I think 0.5.x, but it definitely happens in 0.6.x wrk -t12 -c400 -d30s http://localhost:3000

naturallymitchell avatar Nov 25 '18 04:11 naturallymitchell

I tested it with both lighttouch and the simple-web-server and didnt get that error at all. On the simple web server, it was error free but on lighttouch the only error I got was

lighttouch-base/content/read_document.lua:10: Document 56d2cd3e-5357-455d-9cd4-94aa0191db8e not found in index
stack traceback:
	[C]: in function 'error'
	lighttouch-base/content/read_document.lua:10: in function 'content.init.read_document'
	[string "packages/homepage-package/actions/send_homepa..."]:9: in function 'packages.homepage-package.actions.send_homepage.action'
	lighttouch-base/loaders/actions.lua:90: in field 'callable'
	lighttouch-base/third-party/Luvent.lua:315: in upvalue 'invokeAction'
	lighttouch-base/third-party/Luvent.lua:338: in local 'call'
	lighttouch-base/third-party/Luvent.lua:353: in function 'third-party.Luvent.trigger'
	[string "packages/homepage-package/rules/homepage_requ..."]:23: in function 'packages.homepage-package.rules.homepage_requested.rule'
	lighttouch-base/init.lua:96: in field 'handler'
	[string "handle"]:10: in function <[string "handle"]:7>
	[C]: in function 'xpcall'
	[string "handle"]:7: in main chunk

Could you provide more clarification on what youre doing to get this error?

dariusc93 avatar Nov 25 '18 10:11 dariusc93

I think this'll get fixed by https://github.com/foundpatterns/lighttouch-base/issues/96 and #74

naturallymitchell avatar Dec 07 '18 02:12 naturallymitchell

Is this still an issue?

dariusc93 avatar Jan 11 '19 21:01 dariusc93

don't think so

I got like much >500 req/s using lighttouch-hello-world, using wrk -t4 -c11 -d11s http://localhost:3000

idk what happened, but I think things are somehow working significantly better

naturallymitchell avatar Jan 11 '19 21:01 naturallymitchell