I'm using IIS 6.0 and an isapi dll created in Delphi, and I'm getting an error which I cannot understand.
At some point when I make a request for this file I get an error in Firefox ("The connection to the server was reset while the page was loading"). At the same time http error log is full of "Connection_Abandoned_By_AppPool" messages. After this happens, there is almost nothing I can do - I tried recycling the application pool, then I tried restarting the IIS server, and finally I reset the computer - NONE of this helped.
The only thing that resolves the issue is to recompile the dll and replace it (the source is absolutely the same). After that everything works fine.
I have a separate App pool for this dll (not executing in DefaultAppPool). At first, I thought that the problem lies in "Rapid fail protection" so I have disabled it, but the problem hapenned again.
The biggest issue is that this problem hapenned exactly 4 times in two months. It's very rare, and very hard to debug.
Finally, I have discovered on thing that could lead to the solution (with somebody's help :-)). I have enabled recycling for this pool every 2 hours. Looking at the event log in windows, I have found out that the problem always occured after the pool was recycled. So, each time this problem hapenned I have this logged in Event log as an information message:
"A worker process with process id of '2312' serving application pool 'PromjenePool' has requested a recycle because the worker process reached its allowed processing time limit. ".
After that, in my log there is a series (hundreds, thousands) of error messages, two or three in a second, first of them coming just a few seconds after information about recycling. The warning messages are like this:
"A process serving application pool 'PromjenePool' terminated unexpectedly. The process id was '2604'. The process exit code was '0x1'. "
The first thing that my dll does is that it logs that it has been initalized to a log file. After this happens, there is no trace of initialization in my log file. So, probably dll is never loaded, or it crashes when it tries to open the file.
So, to resume, I have recycle periods of 120 mins, and about 300-400 recycles happen without any problem. After one recycle, I just keep getting error "The connection to the server was reset while the page was loading", httperr log contains loads of ""Connection_Abandoned_By_AppPool" messages, and event log is logging that process serving my pool is terminating unexpectedly. The most bizzare thing is that recycling the dll, restarting iis or computer won't help, the only thing that surely helps is to recompile the dll (same source).
Just to add - if it can help - all dll is basically doing is connecting via TCP sockets to a data feed, constantly reads data and publishes it through dll. There is no connection to database, just sockets and appending messages to local file.
I am having some serious issues on one of my servers. The server/browser error I (and clients) get when executing something that needs more than 5 secs to finish is "The connection to the server was reset while the page was loading".
[Sat Feb 23 11:27:22 2008] [info] (104)Connection reset by peer: core_output_filter: writing data to the network [Sat Feb 23 11:27:24 2008] [notice] Digest: generating secret for digest authentication ... [Sat Feb 23 11:27:24 2008] [notice] Digest: done [Sat Feb 23 11:27:24 2008] [warn] pid file /var/run/apache2/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sat Feb 23 11:27:24 2008] [notice] Apache configured -- resuming normal operations [Sat Feb 23 11:27:24 2008] [info] Server built: Jul 28 2006 09:04:55 [Sat Feb 23 11:27:26 2008] [info] (104)Connection reset by peer: core_output_filter: writing data to the network [Sat Feb 23 11:27:27 2008] [info] (104)Connection reset by peer: core_output_filter: writing data to the network
I have 3 servers, but one of them has some problem.
When Internet connection is slow and I try to access any webpages on this server, very often I get just a blank page or "The connection was reset" error. When I refresh page, it loads normaly. Sometimes it happends on each 5th-10th click.
I have a slight problem with one user trying to upload with FTP to the server. The problem is, if he is uploading a file that will take awhile... his FTP connection will be dropped if he visits his site during the transfer.
Me and a few others have tried duplicating the problem with no success. Our uploads do not get stopped. Anyhow, I took a guess that maybe it was a problem with APF our software based firewall. I turned it off for a few minutes, and then the users problems dissappeared.
I turned on full logging in APF, and had the user try yet again. Here is the output:
The 17:23:44listings is the exact time he visited his site during the upload. The weird part is the Timeout message at that same exact time. No new data for 900 seconds...
Anyhow, I don't really want to post the full apf.conf if I don't have to... So can anyone take a guess at what APF rule might be causing the problem?
Also, why would it only be affecting 1 client when all the rest can visit their site while uploading?
[Mon Mar 23 20:53:14 2015] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Mon Mar 23 20:53:14 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php
I had 3 IP pools in HyperVM node. I removed (deleted) 2 pools completely because I had an error trying to create a VPS, told me the IP was being used by someone else. So I deleted the pools completely and I see they still ping. I did a tracert and the IPs come to my server so i know nobody else is using them or that they were assigned to somone else. I rebooted the server and while it was in the process I tried to ping the ips and they didn't respond. When node came up, the ips started pinging again. How can I manually remove the IPs so that my server doesn't respond to the pings and I can add them to the pool and use them correctly.
I have an issue with Plesk 11. I have a few websites with different subscriptions, each running in a dedicated application pool.The moment I access the website (via browser), the application pool is automatically stopped and 503 Service Unavailable is returned.
After I manually start the application pool, it runs (no stop icon for that app pool in IIIS Manager) until the first attempt to load the website is made.
The users for the respective pools are the ones created by Plesk when subscriptions were created.Details: Pesk Panel 11.0.9 Update #53, IIS8, running on Windows Server 2012.
I'm running a new community site on a VPS with Cpanel. When I'm browsing my site, I get fairly frequent "the connection with the server was reset" messages. Click refresh and the page loads fine. The site gets very low traffic at the moment, so I don't think it's a resource problem. Cpanel resource reports also look fine.
The hosts said this is definitely a DNS issue, and advised me to check my resolv.conf file. I changed one of 3 nameserver entries to OpenDNS, but it didn't make any difference.
I've also tried changing the DNS servers for my own internet connection, but have still experienced the error. All other sites are fine... apart from mine
Is this definitely a DNS thing or am I looking in the wrong place?
I update the corporate website for my company. Our server is IIS and when I need a 301, I have to send a request to IT to do it, as our pages are static .html and .shtml (SSI) and using javascript redirects is not ideal for SEO.
A redesign we're going to be deploying, will include the shuffling of several pages/directories and redirecting of quite a few URL's. This fact alone seems to provide a good argument convincing IT that this is a good idea. From what I've read here and elsewhere, heliontech's solution seems to be the way to go.
Since this is 3rd party, I'm looking to have further leverage to explain my case on behalf of using this. Are there benchmarks and data that support the reliability of this method versus the straight MS stuff?
Also, I'm not real tech savvy on the server end, but I was told that our corporate site and application sites may reside on the same box and that applying the ISAPI rewrite would affect those as well. This would obviously make it a "no sell" with my IT colleagues.
Would sites residing on the same server be globally affected by the ISAPI? If so, is there a way to circumvent this and just set the ISAPI for the one site?
So I have been reduced, I am a firm *nix Apache user, to using IIS along with ISAPI for redirection at work. Now I can setup the redirection(s) just fine using the GUI, but I am a *nix man and doing this through the GUI is SLOW! That is when it has to be done on 3 servers at a time plus I can only access those servers through a Citrix environment.
And I need to be adding redirects many times a week. Is there any way to setup ISAPI redirects from a command line? Google has offered me nothing.
i have custom dll built with Delphi that used to work on IIS 5/6/7. After i migrated to apache, DLL started to crash after an hour or two and i have to restart the server. The error was something about bad header. Since the developer says DLL is handling reponses OK and i can't get anything with debug logging on apache side can i run DLL as CFG/FastCGI (not that versed with apache so maybe this question does not make sense)?
we're using IIS 5.0 which doesn't have any flexible support for rewriting URLs which include parameters (AFAIK, anyway). We're currently testing an ISAPI Rewrite Plugin, which emulates the syntax and behaviour of mod_rewrite, which is why I felt this forum category to be the most appropriate for this post.
Our URLs at the moment look like:-
[url]where 'hg' is an instance of a key. In this particular example, we wish to rewrite our URL to read [url]homegarden' where 'homegarden' is a value of that respective key.
Since the value 'homegarden' isn't present in our current URL, we need some way to associate this value with it's relevant key, by mapping one to another. The ideal solution in this case would be to use RewriteMap, however the ISAPI plugin doesn't support this directive.
One other solution, that I've seen here is to use the 'homegarden' value as the key instead. However, due to the lack of flexibility of our system, this isn't possible.
Another method of achieving this is to hard-code a RewriteRule for every instance of a key, but this solution has obvious performance drawbacks (we have around 400 categories)
So, at the moment I'm out of ideas, which is why I thought I'd try and rack your brains for suggestions. An ideal scenario would be to use something like RewriteCond (which is supported by the plugin) to attach a file which would contain the key/value map.
Since about 2002 I have constantly had my own co-located and then dedicated box. Before that, the only paid host I ever used was verio.net. Now that I sold off most of my sites, it is time to move to a smaller, shared hosting plan.
My question is can anyone suggest a good hosting plan? I do not need a lot of space or bandwidth, but I do require a few things:
- ASP.net 3.5 is a huge plus, but 2.0 is do-able
- At least one msSQL database
- Daily backups is also a huge plus. I don't need this second, but eventually I will want it.
- Good technical support is a must. I have dealt with to many companies even with my dedicated hosting that offered horrible tech support. A three day wait on a question is not acceptable. Phone support is a plus, but a 24 hour reply on an email is enough.
- ISAPI-Rewrite, or an equivalent is a must. I rewrite my URL's for SE rankings, as I believe everyone should, so the ability to host a rewrite script is a must. Though I use ISAPI-Rewrite, if their is an equivalent that is do-able.
- Need to be able to run at least (2) domains. My main company domain and then a second domain which is basically a landing page. In future I need a 3rd domain added, so ability to upgrade or add on a domain cheaply is a must too.
If you own a hosting company that matches this, or can suggest any please do so. If you suggest and they offer a referral program feel free to let me know your referral code as you obviously deserve the credit for suggesting the company.
I am talking like a few thousand sites per server (actually a pair that act as a unified server, routing for load balancing). In a muli-thousand site IIS server, will having ISAPI Rewrites enables for ALL of the IIS virtual sites cause performance to degrade?
For the longest time that i know of i setup a Fortigate 50 at a LAN cafe. No issues but they asked me to change a few things and update a few things. For the like of me i don't have any details saved about the admin password, nor do they.
I have an account setup thinking i can put a ticket in, but no... I need a support plan... The email address i have for Fortigate returns please open a ticket via web... So im kinda stuck.
Does any one on hand know how to fully reset these boxes? I have the CLI up but theres nothing regarding doing so, like some others.
I see on the net many scritp demos that get auto-reseted every X hours (all data is reverted, and site files reset). Is there a script out there that does this I can download?
restore a VPS onto a different server due to a hardware failure. The new VPS is up and running and I can apache is displaying the cPanel WHM login panel ok. So I know the VPS is fine.
However, my WHM username/password are no longer working.
What options do I have resetting the password for the WHM? I have full access to the shell of the VPS (root access).
I having having issue with few of my servers sending Reset packet to a particular IP. I have disabled my firewall and noticed that few machines (Unix/Windows) is still sending Reset package to one IP only. Reset packet will be sent over on all ports except icmp ping.
Anybody know where to check? Or the server on the other IP is having problem which cause my servers to send the Reset packet
Every morning at approx 9am I have to restart the WWW publishing service to get my website working. The strange thing is if I view an HTML page it works, if I view an ASP.net page it works but if I view an ASP page it doesnt work, I just get a white screen as if its trying to load the page but it never does. This site worked for years on the old Server 2000 box but since we moved it to the 2003 server it fails.
All the services are running fine and no errors are logged so we are a bit stumped to why this is happening.