ITPub博客

首页 > IT基础架构 > 网络安全 > Not enough server threads available for this query的处理

Not enough server threads available for this query的处理

原创 网络安全 作者:liang573728 时间:2019-05-05 08:54:04 0 删除 编辑

Error:

UDA-SQL-0107 A general exception has occurred during the operation "fetch". [Sybase][ODBC Driver][Sybase IQ]Not enough server threads available for this query. UDA-CUR-0000 Unable to fetch the row

[@more@]

Reference:

http://manuals.sybase.com/onlinebooks/group-iq/iqg1250e/iqapg/@Generic__BookTextView/42350;pt=42326;lang=fr

Fix:

Sybase DBhad been config with higher server value as below and db restart completed:

=============================================================
IQ server starting with:
500 connections ( -gm )
14 cmd resources ( -iqgovern )
1400 threads ( -iqmt ) 512 Kb thread stack size ( -iqtss )
716800 Kb thread memory size ( -iqmt * -iqtss )
2 IQ number of cpus ( -iqnumbercpus )
0 MB maximum size of IQMSG file ( -iqmsgsz )
0 copies of IQMSG file archives ( -iqmsgnum )
=============================================================
dynamic option for dwadm user:
SET OPTION dwadm.MAX_IQ_THREADS_PER_CONNECTION = 1000;
SET OPTION dwadm.MAX_IQ_THREADS_PER_TEAM = 500;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/640706/viewspace-1047952/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2005-10-15

  • 博文量
    152
  • 访问量
    138341