On Sun, May 16, 2010 at 5:38 PM, Martin Guetlein
<[email protected]> wrote:
> On May 14, 5:12 pm, Martin Guetlein <[email protected]>
> wrote:
>> Hello All,
>>
>> I am using the datamapper to store results of my web service. Things
>> are running fine unless I start many jobs asynchronously. A
>> Resource.get(<id>) then yields the following exception:
>
> Another effect of my problem is that my Resources sometimes do not get
> an id, i.e. the following init-method of MyResource sometimes  raises
> an exception:
>
> def initialize(params)
>  super params
>  save
>  #everything fine so far, save returns true, resource is in database
>  raise "no id" if @id==nil
> end
>
> Again this does only happen when running several processes at a time,
> again no sql error logs.
>
> Some help would be very much appreciated. Anyone?
>
> Martin

Hello All,

More errors occur: "Lost connection to MySQL server during query" and
"MySQL server has gone away".

I tried some tuning on the mysql server (increasing
max_allowed_packet, max_connections, connect_timeout,
net_read_timeout), no success.

I read that people had similar problems with older dm versions, but I
have no clue how to proceed...

Has nobody an idea? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to