Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: Query Timeout Expired
Daryl Probetts
Posts: 45
 
Query Timeout ExpiredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Feb 10 10:57 AM
Client upgraded from 7.0 to 7.5.2. No problems in 7.0 environment.

New 7.5.2 environment upon upgrade.
SQL Server 2008 and SalesLogix Application Server on Windows 2008 R2 64-bit. 12 GB RAM

Query Timeout Expired has happened for the second time since upgrading 1.15.2010. Restarting the SLXServer service on fixes the problem. Looking at memory, 11.5 is used up before restart of service. Seems to run fine for about 2-3 weeks and then errors occur.

There is minimal customization. Has anyone seen this before? Any ideas on what to look for? Obviously a memory leak. Could this be a result of customization if it is happening on the Application Server?


Thanks in advance.

Daryl
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Query Timeout ExpiredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Feb 10 11:02 AM
You probably will need to do some logging when these errors ocurred.

Is the query being sent to the DB? Are there any locks on the DB or is it being returned right away, but still getting a timeout on the Client?

Also, queries are not ran through the SLX Server. The queries are parsed locally (For web clients by the Individual Web Server) and then ran directly against the DB.

Restarting SLX Server may be clearing up Lock on the DB....

Again, I would profile the DB and keep an eye out for Locks, and before Restarting SLX Server, make a note of which PIDs it has and what locks (if any it is causing)....
[Reply][Quote]
Daryl Probetts
Posts: 45
 
Re: Query Timeout ExpiredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Feb 10 11:44 AM
Update.

Of the 12GB of RAM, 10.5 was allocated to SQL Server so not much was available to anything else. Reduced the amount of memory available to SQL Server 2008 and we will see what happens.
[Reply][Quote]
Daryl Probetts
Posts: 45
 
Re: Query Timeout ExpiredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Feb 10 11:48 AM
Thanks Raul. I will give this a try next time it happens so I have more info to act on.
[Reply][Quote]
Daryl Probetts
Posts: 45
 
Re: Query Timeout ExpiredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Mar 10 5:00 PM
Well it turned out Speedsearch was the problem. There were over 4,000,000 records in indexupdates. SpeedSearch uses this table to determine what to update when doing an incremental index update. I had to manually delete the records. A full rebuild should have deleted the rows but I suspect it was taking so long to do the delete that speedsearch was reporting the time out.

We found the error in the application event log on the speedsearch machine which was the clue.
[Reply][Quote]
Paul Scott
Posts: 1
 
Re: Query Timeout ExpiredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 11 12:29 PM

We're having the same problem.  Was there any difficulty/extra steps you had to take after deleting the records from indexupdates?

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Query Timeout ExpiredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 11 2:45 PM

Yes. If you do not use S/Search (and 4M rows suggest the other person doesn't!) then you need to disable it completely.


update slxtriggers set enabled = 'F' where path = 'SlxSearchTrigger.dll'


S/Search should consume those entries - but if it's not running then the trigger will still operate (this is an SLX Trigger) and populate the table. Use "truncate table indexupdates" to delete all rows after disabling trigger (you should also stop s/search service).


If you want to enable it later on, just reverse step and reconfigure.


Regards
Mike

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 2:48:43 AM