pragm / pragmnote

pragm is an open source multiuser realtime scratchpad
http://pragm.de
Apache License 2.0
3 stars 1 forks source link

High CPU Usage with Socket I/O [Uncaught TypeError: Object # has no method 'packet' => in Socket.io] #55

Closed jvimedia closed 10 years ago

jvimedia commented 10 years ago

after a while having pragm open in the browser it suddenly brings the CPU with chrome WebHelper to 50% and apple Safari webkit process to about 45%. Please confirm that. I will try to get data about when this occurs but its like searching a needle in the haystack. It appears to start at a random point in time.

dustin-H commented 10 years ago

ok so this is only a client side issue? or is there a problem with server too?

dustin-H commented 10 years ago

hmm ... can not confirm this issue on chrome win64

jvimedia commented 10 years ago

how long did you wait? bc. It happened here after about 5 minutes idle / not using it

dustin-H commented 10 years ago

same, but I try it again... was a file opened?

2014/1/25 Johannes notifications@github.com

how long did you wait? bc. It happened here after about 5 minutes idle / not using it

Reply to this email directly or view it on GitHubhttps://github.com/pragm/pragmnote/issues/55#issuecomment-33287479 .

jvimedia commented 10 years ago

Okay this time it needed longer about 3h till it happened …

Uncaught TypeError: Object # has no method 'packet' => in Socket.io js sadly I wasn't able to catch the line number because chrome crashed after I opened the error log.

Thats what the log says and after wards it jumps back to "open" and shows the login mask but the CPU is on 88% Chrome 64Bit OSX & Safari 64Bit OSX

It appears to need a random amount of time. Could be also in relation with some network issues or with the Squid Proxy which I am using on the client side. Intresting

dustin-H commented 10 years ago

ok, I know the bug... it's already solved in actual dev branch, but do not update because in this version are worse bugs

jvimedia commented 10 years ago

So I will close this then right?