Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
emulator Error in process
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tpbradley  
View profile  
 More options Nov 6 2012, 4:12 am
From: tpbradley <t...@71squared.com>
Date: Tue, 6 Nov 2012 01:12:08 -0800 (PST)
Local: Tues, Nov 6 2012 4:12 am
Subject: [error] emulator Error in process

Hi all,

I'm using zotonic 0.9dev with the twitter module. After a while the server
will crash with the following messages in the log files. These message
repeat approximately 550 times before the zotonic process dies. From what I
can see, there is no erl_crash_dump file with additional information. Our
server has also been periodically hitting 100% CPU usage for approximately
2 hours.

Does anyone have any thoughts?
Thanks

*From console.log*
*
*
2012-11-06 02:52:09.491 [error] emulator Error in process <0.29101.21> on
node 'zotonic001@localhost' with exit value:
{undef,[{ssl_session_cache,delete,[{{"www.surveymonkey.com",443},<<32
bytes>>}]}]}
2012-11-06 02:53:09.491 [error] emulator Error in process <0.30026.21> on
node 'zotonic001@localhost' with exit value:
{undef,[{ssl_session_cache,delete,[{{"www.surveymonkey.com",443},<<32
bytes>>}]}]}
2012-11-06 02:53:09.492 [error] emulator Error in process <0.30027.21> on
node 'zotonic001@localhost' with exit value:
{undef,[{ssl_session_cache,delete,[{{"stream.twitter.com",443},<<32
bytes>>}]}]}
2012-11-06 02:54:09.492 [error] emulator Error in process <0.30935.21> on
node 'zotonic001@localhost' with exit value:
{undef,[{ssl_session_cache,delete,[{{"stream.twitter.com",443},<<32
bytes>>}]}]}

*From crash.log*

2012-11-06 02:53:09 =ERROR REPORT====
Error in process <0.30026.21> on node 'zotonic001@localhost' with exit
value:
{undef,[{ssl_session_cache,delete,[{{"www.surveymonkey.com",443},<<32
bytes>>}]}]}
2012-11-06 02:53:09 =ERROR REPORT====
Error in process <0.30027.21> on node 'zotonic001@localhost' with exit
value: {undef,[{ssl_session_cache,delete,[{{"stream.twitter.com",443},<<32
bytes>>}]}]}
2012-11-06 02:54:09 =ERROR REPORT====
Error in process <0.30935.21> on node 'zotonic001@localhost' with exit
value: {undef,[{ssl_session_cache,delete,[{{"stream.twitter.com",443},<<32
bytes>>}]}]}
2012-11-06 02:54:09 =ERROR REPORT====
Error in process <0.30934.21> on node 'zotonic001@localhost' with exit
value:
{undef,[{ssl_session_cache,delete,[{{"www.surveymonkey.com",443},<<32
bytes>>}]}]}

*From error.log*

2012-11-06 02:53:09.491 [error] emulator Error in process <0.30026.21> on
node 'zotonic001@localhost' with exit value:
{undef,[{ssl_session_cache,delete,[{{"www.surveymonkey.com",443},<<32
bytes>>}]}]}
2012-11-06 02:53:09.492 [error] emulator Error in process <0.30027.21> on
node 'zotonic001@localhost' with exit value:
{undef,[{ssl_session_cache,delete,[{{"stream.twitter.com",443},<<32
bytes>>}]}]}
2012-11-06 02:54:09.492 [error] emulator Error in process <0.30935.21> on
node 'zotonic001@localhost' with exit value:
{undef,[{ssl_session_cache,delete,[{{"stream.twitter.com",443},<<32
bytes>>}]}]}
2012-11-06 02:54:09.493 [error] emulator Error in process <0.30934.21> on
node 'zotonic001@localhost' with exit value:
{undef,[{ssl_session_cache,delete,[{{"www.surveymonkey.com",443},<<32
bytes>>}]}]}


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[error] emulator Error in process" by Marc Worrell
Marc Worrell  
View profile  
 More options Nov 6 2012, 4:17 am
From: Marc Worrell <mworr...@me.com>
Date: Tue, 06 Nov 2012 10:17:21 +0100
Local: Tues, Nov 6 2012 4:17 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

Hi,

That ssl_session_cache error you see is mosty a nuisance.
Though it does consume lots of disk space (logs) and cpu just generating/handling it.

It was introduced in the R14B03 (or 02?) release,  R14B04 doesn't have that error.
Try upgrading your Erlang install to a newer release.

We are running 0.9dev in production and it is stable.
At least I don't see any CPU spikes, we are running on R14B04.

- Marc

On 6 nov. 2012, at 10:12, tpbradley wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tpbradley  
View profile  
 More options Nov 6 2012, 4:27 am
From: tpbradley <t...@71squared.com>
Date: Tue, 6 Nov 2012 01:27:46 -0800 (PST)
Local: Tues, Nov 6 2012 4:27 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

Ahh, I didn't realise there was a new version of erlang... I'm currently
on R14B03 so I'll give R14B04 a try.

Thanks Marc!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tpbradley  
View profile  
 More options Nov 7 2012, 4:40 am
From: tpbradley <t...@71squared.com>
Date: Wed, 7 Nov 2012 01:40:29 -0800 (PST)
Local: Wed, Nov 7 2012 4:40 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

Hi Marc,

I updated my erlang install to version R14B04 yesterday and restarted the
zotonic server. Shortly after, I could see a beam process running at 100%
again, so I disabled the twitter module in case it was causing any issues.
After restarting zotonic, I no longer had any processes using 100% CPU but
this morning I checked the server and all beam/heart process had vanished.
I couldn't see anything obvious in the logs and no crash file had been
created. So, I tried running zotonic using the start.sh file to give me a
shell to see if anything happened. After about 30 mins, the shell died with
the following output.

/home/zotonic/src/scripts/zotonic-debug: line 22: 24462 Killed            
     $ERL -env ERL_MAX_PORTS $MAX_PORTS +P 10000000 +K true -pa $PA -name
$SNAME@$HOSTNAME -boot start_sasl -config $ZOTONIC/priv/erlang.config -sasl
errlog_type error -s zotonic

I'm running version 0.9 of zotonic from Sat Oct 6 19:46:05
commit ca6e9c55901ee2352c08dd5a507f13a5f2ab8a0c

Thanks
Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tpbradley  
View profile  
 More options Nov 7 2012, 5:05 am
From: tpbradley <t...@71squared.com>
Date: Wed, 7 Nov 2012 02:05:33 -0800 (PST)
Local: Wed, Nov 7 2012 5:05 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

A quick question... when you install a new version of erlang, do you have
to rebuild zotonic by running make?

Cheers


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjan Scherpenisse  
View profile  
 More options Nov 7 2012, 5:11 am
From: Arjan Scherpenisse <ar...@scherpenisse.net>
Date: Wed, 07 Nov 2012 11:11:38 +0100
Local: Wed, Nov 7 2012 5:11 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

Yep, that's best.
$ make clean
and then
$ make

On 11/07/2012 11:05 AM, tpbradley wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Worrell  
View profile  
 More options Nov 7 2012, 5:15 am
From: Marc Worrell <mworr...@me.com>
Date: Wed, 07 Nov 2012 11:14:56 +0100
Local: Wed, Nov 7 2012 5:14 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

On 7 nov. 2012, at 10:40, tpbradley wrote:

> /home/zotonic/src/scripts/zotonic-debug: line 22: 24462 Killed                  $ERL -env ERL_MAX_PORTS $MAX_PORTS +P 10000000 +K true -pa $PA -name $SNAME@$HOSTNAME -boot start_sasl -config $ZOTONIC/priv/erlang.config -sasl errlog_type error -s zotonic

Strange, when there is nothing in the logs then it makes me think that either:

- something is killing it
- hardware failure; is core dump turned off?

Is heart running?
If so, try without heart, maybe it is killing beam because it thinks that beam got stuck.

- Marc


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tpbradley  
View profile  
 More options Nov 7 2012, 5:55 am
From: tpbradley <t...@71squared.com>
Date: Wed, 7 Nov 2012 02:55:18 -0800 (PST)
Local: Wed, Nov 7 2012 5:55 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

Cheers guys... I've grabbed the latest zotonic from github and recompiled
everything. So far everything is running fine with the twitter module
enabled again. I don't think there is a hardware failure as we also run an
apache server on the same machine without issue. The machine is hosted by
linode.com. I'll turn core dump on to see if it picks up anything.

Heart is not currently running. I've started zotonic with the shell to
monitor console output. Is that why heart is not running? Are there other
ways to start zotonic without the heart process?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Worrell  
View profile  
 More options Nov 7 2012, 10:04 am
From: Marc Worrell <mworr...@me.com>
Date: Wed, 07 Nov 2012 16:04:39 +0100
Local: Wed, Nov 7 2012 10:04 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

Did you also do a separate git-pull-make-clean on the ua_classifier?
Just to be sure :)  I had some strange crashes in that one before I fixed a Heisenberg bug in there.

- Marc

On 7 nov. 2012, at 11:55, tpbradley wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tpbradley  
View profile  
 More options Nov 7 2012, 11:18 am
From: tpbradley <t...@71squared.com>
Date: Wed, 7 Nov 2012 08:18:16 -0800 (PST)
Local: Wed, Nov 7 2012 11:18 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

ooo, where is the ua_classifier? I should be ok because I've created a
whole new directory and re-checked out the zotonic source (git clone
https://github.com/zotonic/zotonic.git).

Cheers


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Worrell  
View profile  
 More options Nov 7 2012, 11:20 am
From: Marc Worrell <mworr...@me.com>
Date: Wed, 07 Nov 2012 17:19:24 +0100
Local: Wed, Nov 7 2012 11:19 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

It is in 'deps', but when you did a clean checkout then it will be ok.

- Marc

On 7 nov. 2012, at 17:18, tpbradley wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tpbradley  
View profile  
 More options Nov 7 2012, 11:38 am
From: tpbradley <t...@71squared.com>
Date: Wed, 7 Nov 2012 08:38:41 -0800 (PST)
Local: Wed, Nov 7 2012 11:38 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

Ah, excellent!

I think also that some of my crashes were down to memory problems. We only
had 256mb of virtual memory available and from scanning through the kernel
logs I can see the kernel killing the beam process because it was running
out of memory. I've increased the VM size on our box up to 1024mb so I'll
keep an eye on things to see how it performs over the next few days.

Cheers!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tpbradley  
View profile  
 More options Nov 9 2012, 4:35 am
From: tpbradley <t...@71squared.com>
Date: Fri, 9 Nov 2012 01:35:49 -0800 (PST)
Local: Fri, Nov 9 2012 4:35 am
Subject: Re: [Zotonic-Usr] [error] emulator Error in process

Ok, everything is running really well now... No more runaway
or disappearing processes and the memory usage is down to about 6% ;)

Thanks for all the help!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »