I am getting error Exception timeout error for fetch in grafana and my datasource is graphite-web .
I findout the same issue on github .
https://github.com/graphite-project/graphite-web/issues/2313
I can see local_settings.py file on my graphite-webserver and also on graphite-cache server as well .
where do i need to change on both palaces or not ?
below are the current value in local_setting.py file .
#REMOTE_FIND_TIMEOUT = 4.0
#REMOTE_FETCH_TIMEOUT = 6.0
#FIND_CACHE_DURATION = 300
and i have stg environment there also same configuration on both web and carbon-cacheserver .and i am able to fetch data as well without any issue.below are the value in local_setting.py file
#REMOTE_FIND_TIMEOUT = 15
#REMOTE_FETCH_TIMEOUT = 60
#FIND_CACHE_DURATION = 400
will it cause any issue if i change half values whatever present in STG ?
Related
We are having problem on a live production system.
One of the nodes stopped working properly (because of problems with network file system on which is it hosted) and that happened while the channel staging process was in progress.
Because of that really bad timing, the staging process remained unfinished and all locked resources remained that way which prevented editing products or catalogs on live system.
1st solution we have tried is restarting servers node by node, that didn't help.
2nd solution we tried executing SQLs mentioned in this support article:
https://support.intershop.com/kb/index.php/Display/2350K6
The exact SQLs we have executed are below, first one is for deleting from RESOURCELOCK table:
DELETE FROM RESOURCELOCK rl WHERE rl.LOCKID IN (SELECT
resourcelock.lockid
FROM
isresource ,
domaininformation resourcedomain,
process,
basiccredentials ,
domaininformation userdomain,
resourcelock ,
isresource_av
WHERE (
(isresource.domainid = resourcedomain.domainid)
AND (isresource.resourceownerid = process.uuid)
AND (resourcelock.lockid = isresource.uuid)
AND (process.userid = basiccredentials.basicprofileid(+))
AND (basiccredentials.domainid = userdomain.domainid(+))
AND (isresource_av.ownerid(+) = isresource.uuid)
AND (isresource.resourceownerid is not null)
AND (isresource_av.name(+) = 'locknestinglevel')
AND (process.name = 'StagingProcess')
));
And another one for ISRESOURCE table:
UPDATE isresource
SET
resourceownerid=null,
lockexpirationdate=null,
lockcreationdate=null,
lockingthreadid=null
WHERE
RESOURCEOWNERID='QigK85q6scAAAAF9Pf9fHEwf'; //UUID of StagingProcess
Now this has somewhat helped as it allowed for single products to be staged, but here are still two problems remaining:
Products can't be manually locked on live system for editing, when lock icon is clicked the page refreshes but it looks like it is still unlocked, but records are created for each product which is clicked on in ISRESOURCE table altough they are incomplete (the is no RESOURCEOWNERID, lock creation date, or lock expiration date), this can be seen below:
Also processes are tried to be created for product locking but they are all failing or running without end date as can be seen here:
Now for the second problem:
The channel staging cannot be started and it fails with message:
ERROR - Could not lock resources for process 'StagingProcess': Error finding resource lock with lockid: .0kK_SlyFFUAAAFlhGJujvESnull
That resource is MARKETING_Promotion resource:
Both problems started occuring after running above mentioned SQLs and it seems they are related, any advice on how to resolve this situation would be helpfull.
The first SQL that I posted shouldn't have been run:
DELETE FROM RESOURCELOCK rl WHERE rl.LOCKID IN....
The fix was to restore deleted resource locks and just set the lock fields in ISRESOURCE table to null with the second SQL:
UPDATE isresource
SET
resourceownerid=null,
lockexpirationdate=null,
lockcreationdate=null,
lockingthreadid=null
WHERE
RESOURCEOWNERID='QigK85q6scAAAAF9Pf9fHEwf'; //UUID of StagingProcess
In Microsoft LightSwitch I created an application that works on my desktop and sandbox, but when deploying to production I get "Resource not found for the segment 'lients' ", but it's supposed to be 'Clients' whenever it is updating or deleting.
Any ideas on why this is happening?
Just putting it out here for anyone that needs it. The issue which can be found here, was that there is a bug in the code. When the site is changed from HTTP to HTTPS outside of LightSwitch, it retains the original URL and your entity name is reduced by one character.
The workaround is to go to file 'Scripts\msls-2.0.0.js' at line 7026 which looks like this:
request.requestUri = metadata.uri.substr(
dataServiceDetails._serviceUri.length + 1);
and change this line to:
var protocol = /^(https|http)/i;
request.requestUri = metadata.uri.replace(protocol,
'').substr(dataServiceDetails._serviceUri.replace(protocol, '').length
+ 1);
I need to upload a plugin in word press but each time it tells
Downloading update from http://wordpress.org/wordpress-3.7.1-new-bundled.zip…
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\ubuy\wp-includes\class-http.php on line 1152
this how can increase the time limit ?
I ended up editing the ...\wp_includes\class-http.php file.
Around line 1250 (depending on your version), look for the line that reads:
$theResponse = curl_exec( $handle );
and change it to read:
$timelimit = ini_get('max_execution_time');
set_time_limit(900);
$theResponse = curl_exec( $handle );
set_time_limit(max($timelimit, 30));
This stores the current timeout in a variable, sets the new timeout to 900 seconds (5 minutes should be plenty for most connections), then it performs the request, and resets the timeout to what ever it was before we began.
That has worked for me in the past.
NB: v3.8.2 uses another asynchronous method to perform installs and if you're on windows, you might need to set some additional security permissions etc. to get it all working properly.
Cheers.
This one is driving me crazy.
Replaced our old Windows 2000 web server with a Windows 2008 one which means moving to IIS7.
Now the move went smoothly except for the search catalogs we had set up on the old machine.
I added the Indexing Service and created the catalog for our website.
However, now the classic ASP page that queries the catalog is behaving strangely.
Specifically, the "vpath" and "doctitle" are blank. Other fields are being returned correctly like "characterization" and "rank" but others are not.
And the most annoying part is anytime I make a change to the search results page I get this error:
The page cannot be displayed because an internal server error has occurred.
...and I have to wait a couple of seconds before retrying. And then the page will come up fine. Very bizarre.
Anyway, here's the classic ASP code:
Set objQuery = Server.CreateObject("ixsso.Query")
With objQuery
.Catalog = "Website"
.Columns = "doctitle, vpath, size, characterization, rank"
.SortBy = "rank[d], doctitle"
.MaxRecords = 50
End With
objQuery.Query = "(#filename *.asp) AND (#contents " & Request.Form("searchterms") & ")"
Set rsSystem = objQuery.CreateRecordset("nonsequential")
Do Until rsSystem.EOF
%><dt><% = rsSystem("doctitle") %></dt>
<dd><% = rsSystem("characterization") %>...</dd><%
rsSystem.MoveNext
Loop
Anyone else experience this?
Thanks.
The first thing you should do is to Enable IIS's detailed errors, to indicate which line of code is causing this error specifically.
Read the following page's "2) Enable IIS7 detailed errors" section, and give it a try. I hope it will help you some.
http://mvolo.com/blogs/serverside/archive/2007/07/26/Troubleshoot-IIS7-errors-like-a-pro.aspx
We changed the server of our ASP website and in new setting browsing the website returns this error:
msxml3.dll error '80072ee2'
The operation timed out
/error404.asp, line 41
This is lines that I think returns error:
Set XML=Server.CreateObject("Msxml2.ServerXMLHTTP.3.0")
XML.SetOption 2,13056
XML.SetTimeouts 90000, 90000, 90000, 90000
XML.Open "POST", website &"/catalog/page.asp?id="& R("CTLMtree_id") &"&rnd="& rnd(), False
XML.Send(Request.Form)
Response.Write XML.ResponseTExt
Set XML=Nothing
Are you sure that the website & &"/catalog/page.asp page exists ?
Are you sure that the Msxml2 dll has been registered.
Do you have other msxml?.dll's on the server? Try another version.
What happens if you increase the SetTimeouts values ?
Just a things thoughts that I would try.
But please format your code (indent each line with 4 spaces), so that we at least can see what the actual codes is.