Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Worker processes getting stuck on 'sync sleep' state

 
   Database Forums (Home) -> Sybase RSS
Next:  Does Sybase have exception handling features  
Author Message
dellit

External


Since: Feb 20, 2006
Posts: 4



(Msg. 1) Posted: Mon Dec 18, 2006 4:40 am
Post subject: Worker processes getting stuck on 'sync sleep' state
Archived from groups: comp>databases>sybase (more info?)

Hi,

We have enabled I/O parallelism on our Sybase instance.

sp_configure 'max parallel degree',4
sp_configure 'max scan parallel degree',2

We are seeing cases where a query that uses parallel scan with two
worker processes gets stuck. Both the worker process (process with
difference spid but different family_id) has the status 'sync sleep'.
This even happens for very simple queries that hardly takes 10ms.

Could someone please let know if this a bug or is this the first time
you are hearing it.

Regards,
Thyagu

 >> Stay informed about: Worker processes getting stuck on 'sync sleep' state 
Back to top
Login to vote
saragirl3s

External


Since: Dec 18, 2006
Posts: 8



(Msg. 2) Posted: Mon Dec 18, 2006 8:49 am
Post subject: Re: Worker processes getting stuck on 'sync sleep' state [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hey There!

I take it you have 'number of worker processes' and 'memory per worker
process' set OK (following are examples):

Parameter Name Default Memory Used Config Value Run
Value
------------------------------ ----------- ----------- ------------
-----------
memory per worker process 1024 65 1024
1024
number of worker processes 0 7316 64
64

1024 is the default for the memory per worker process and *usually*
does not need to be changed. Under normal parallel processing, the
parent spid is in the 'sync sleep' state while the worker processes go
in and out of this state during their work.

What version are you running? Also, what do you mean by 'stuck'?

Cheers,

Sara ...

dellit wrote:
> Hi,
>
> We have enabled I/O parallelism on our Sybase instance.
>
> sp_configure 'max parallel degree',4
> sp_configure 'max scan parallel degree',2
>
> We are seeing cases where a query that uses parallel scan with two
> worker processes gets stuck. Both the worker process (process with
> difference spid but different family_id) has the status 'sync sleep'.
> This even happens for very simple queries that hardly takes 10ms.
>
> Could someone please let know if this a bug or is this the first time
> you are hearing it.
>
> Regards,
> Thyagu

 >> Stay informed about: Worker processes getting stuck on 'sync sleep' state 
Back to top
Login to vote
dellit

External


Since: Feb 20, 2006
Posts: 4



(Msg. 3) Posted: Mon Dec 18, 2006 11:32 pm
Post subject: Re: Worker processes getting stuck on 'sync sleep' state [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for the reply.

The version we're running is "Adaptive Server Enterprise/12.5.4/EBF
13931 ESD#2".

By 'stuck' I mean that none of the process is progressing. The the
parent and the child threads are in 'sync sleep' state and are not
doing anything. This is happening even for simple SQL statements which
take just 10 ms.

Most of the times it is getting stuck in SQL like

"SELECT into table1 from table2 where 1 = 2"

Thanks,
Thyagu
 >> Stay informed about: Worker processes getting stuck on 'sync sleep' state 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
RECV SLEEP - Hi, I have pasted some relvant columns from sp_lock of process id 337 spid locktype table_id page class ----------- -------- ----------- ----------- ---- 337 Ex_intent 624002223 0 Non Cursor Lock 337 Ex_page-blk 624002223 573...

what is the quick and easy way to sync passwords across th.. - Hi all, I have 2 Sybase instances where I have 'few' common logins. I wanted to dump the passwords from one sybase instance to another instance. I tried to do 'select name, password from master..syslogins where name=&interested_logins&' .. fr...

current state of UDF (user defined functions) - I would like to use some of my procedure in a sql query. As stored procedure cannot be used in a query, we create user defined functions. Are there any new version of sybase, supporting create function syntax. I dont want use Java classes to create..

State of Database when adding columns/tables - Hi. I am not a DBA and I am dealing with a legacy Sybase database. I need to add a column to a couple of tables as well as add additional tables to the currently in use production database. I have added the necessary columns/tables to a development..

Msg 20009, Level 9, State 0, Server OpenClient, Line 0 - i can't connect to MS SQL 2000 server. Please advice. I am running this from command line. Apache2, PHP5, Ubuntu Dapper. 0> /usr/local/freetds/bin/tsql -H [server] -p 1433 -U sa -P[password] locale is "en_US.UTF-8" locale charset is &quo...
   Database Forums (Home) -> Sybase All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]