IIS Isapi Dll Connection Reset - Recyclying Pools

Nov 10, 2008

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.

View 0 Replies


ADVERTISEMENT

Connection Reset

Feb 23, 2008

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

View 3 Replies View Related

The Connection Was Reset

Aug 1, 2007

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.

It happends only with one server.

View 7 Replies View Related

Stat=Deferred: Connection Reset

Jun 2, 2008

i started experiencing inconsistencies in mail delivery, getting only 50-60% of all mail.

I have php that generates confirmation emails that are later sent to administrator.

I know that php part is working fine but when it comes to sendmail we have a problem.

Jun 2 12:19:14 xxxxxx sendmail[32659]: m52GJDRo032659: to=xxxxxxxxxxxxx@comcast.net, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=47870, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection reset by [127.0.0.1]

the last part " stat=Deferred: Connection reset" is where i think the problem is.

What can be the reason for connection reset?

just in case here is my top


CPU states: cpu user nice system irq softirq iowait idle
total 148.4% 0.0% 10.8% 0.0% 0.0% 0.4% 240.0%
cpu00 69.0% 0.0% 3.8% 0.0% 0.0% 0.8% 26.2%
cpu01 2.4% 0.0% 0.2% 0.0% 0.0% 0.0% 97.3%
cpu02 81.1% 0.0% 4.7% 0.0% 0.0% 0.0% 14.1%
cpu03 33.4% 0.0% 4.1% 0.0% 0.0% 0.0% 62.4%
Mem: 8145108k av, 8106476k used, 38632k free, 0k shrd, 161608k buff
5953912k active, 1030824k inactive
Swap: 8385912k av, 36392k used, 8349520k free 4294528k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
1 root 16 0 1412 464 412 S 0.0 0.0 0:00 2 init
5568 root 16 0 1468 508 432 S 0.0 0.0 0:00 0 syslogd
5579 root 16 0 3680 1004 764 S 0.0 0.0 0:00 2 sshd
5720 root 15 0 1456 540 464 S 0.0 0.0 0:00 3 crond
5732 root 16 0 2380 524 428 S 0.0 0.0 0:00 0 saslauthd
23757 root 15 0 25584 12M 6872 S 0.0 0.1 0:00 0 httpd
28283 root 16 0 6880 1860 1476 R 0.0 0.0 0:00 1 sshd
29847 root 15 0 2080 1212 996 S 0.0 0.0 0:00 1 bash
3243 root 16 0 2068 1016 876 S 0.0 0.0 0:00 3 mysqld_safe
3276 mysql 15 0 115M 57M 1976 S 0.0 0.7 0:00 0 mysqld
26198 root 20 5 8076 3280 2308 S N 0.0 0.0 0:00 3 sendmail.or
30686 root 20 5 8080 3280 2308 S N 0.0 0.0 0:00 0 sendmail.or
3554 root 20 5 8076 3280 2308 S N 0.0 0.0 0:00 0 sendmail.or
4052 root 20 5 8080 3280 2308 S N 0.0 0.0 0:00 0 sendmail.or
5738 root 21 5 8080 3280 2308 S N 0.0 0.0 0:00 3 sendmail.or
5901 root 21 5 8080 3280 2308 S N 0.0 0.0 0:00 1 sendmail.or
8101 root 20 5 8076 3280 2308 S N 0.0 0.0 0:00 0 sendmail.or
17802 root 16 0 4744 720 620 S 0.0 0.0 0:00 0 spamass-milter

View 0 Replies View Related

Pure-FTPD + APF - Connection Reset

Mar 3, 2007

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:

PHP Code:

Mar  3 17:23:22 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=21 DPT=61682 WINDOW=0 RES=0x00 RST URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64493 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK URGP=0
Mar  3 17:23:32 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x08 PREC=0x00 TTL=64 ID=65164 DF PROTO=TCP SPT=23301 DPT=61684 WINDOW=32767 RES=0x00 ACK URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64496 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK PSH URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64497 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64499 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64500 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK PSH URGP=0
Mar  3 17:23:33 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=21 DPT=61682 WINDOW=0 RES=0x00 RST URGP=0
Mar  3 17:23:34 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x08 PREC=0x00 TTL=64 ID=65166 DF PROTO=TCP SPT=23301 DPT=61684 WINDOW=32767 RES=0x00 ACK URGP=0
Mar  3 17:23:39 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x08 PREC=0x00 TTL=64 ID=65168 DF PROTO=TCP SPT=23301 DPT=61684 WINDOW=32767 RES=0x00 ACK URGP=0
Mar  3 17:23:44 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x08 PREC=0x00 TTL=64 ID=65170 DF PROTO=TCP SPT=23301 DPT=61684 WINDOW=32767 RES=0x00 ACK FIN URGP=0
Mar  3 17:23:44 boundless pure-ftpd: (lf4worl@69.149.62.111) [INFO] Timeout (no new data for 900 seconds) 

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?

View 2 Replies View Related

Plesk 12.x / Windows :: Connection Was Reset For Redirect

Jun 7, 2015

I install wordPress and cant login to admin with this Address:

mydomain.com/wordpress_9/wp-login.php?redirect_to=http%3A%2F%2Fmydomain.com%2Fwordpress_9%2Fwp-admin%2F&reauth=1

And can't load

Show this error: The connection was reset

if i try this address can login > mydomain.com/wordpress_9/wp-login.php

I installed Plesk 12 on the Windows server 2012...

View 9 Replies View Related

Plesk 12.x / Linux :: Connection Reset By Peer - Error Reading Data From FastCGI Server

Mar 23, 2015

I have this error.

Code:

[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

My VPS

OSDebian 7.8
Plesk version12.0.18 Update #38

Code:

<IfModule mod_fcgid.c>
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

[Code] .....

View 2 Replies View Related

IP Pools In HyperVM Node

Jun 29, 2009

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.

View 6 Replies View Related

Plesk 11.x / Windows :: Dedicated Application Pools Stop When Accessing Websites

Jun 9, 2013

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.

View 6 Replies View Related

"Connection With The Server Was Reset" - DNS Or Server?

Apr 21, 2008

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?

View 8 Replies View Related

Windows Hosting With Isapi

Sep 19, 2007

relatively typical windows shared hosting plan that has the isapi rewrite installed.

Is godaddy's windows hosting any good?

View 3 Replies View Related

Selling Your IT Department On ISAPI

Oct 2, 2007

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?

View 3 Replies View Related

IIS & ISAPI Redirects...anything Faster Than The GUI

Apr 10, 2007

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.

View 2 Replies View Related

Apache :: ISAPI DLL Crashing

Jan 29, 2013

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)?

View 4 Replies View Related

Isapi Rewrite For Expression Engine

Oct 3, 2008

have to say the EE forums have been a help to some extent.

I'm trying to rid my Expression Engine site of the index.php? part in my URLs using ISAPI REWRITE on IIS.

I've got [ISAPI_Rewrite]
RewriteRule (/(?:site|member|search|Pd{1,8}).*) /index.php?$1 [I,L]

which removes the index.php but not the? part.

View 2 Replies View Related

ISAPI Rewrite Filter - Alternatives To RewriteMap

May 14, 2009

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.

The current supported directives are :-

RewriteRule
RedirectRule
RewriteHeader
RewriteCond
RewriteLog
RewriteLogLevel
RewriteFilterPriority
IterationLimit
MaxMatchCount
StrictParsing

Even if it's not possible using one of the above, maybe someone can point me to solution involving a method other than using this particular plugin?

View 6 Replies View Related

ASP.net 3.5 / ISAPI-Rewrite / MsSQL Shared Hosting

Mar 19, 2008

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.

View 9 Replies View Related

IIS + ISAPI Rewrites Enabled Globally = Degraded Performance

May 1, 2007

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?

View 1 Replies View Related

Pure-ftp :: 425 Could Not Open Data Connection To Port 2535: Connection Timed Out

Apr 7, 2008

I have ftp server (pure-ftp). with firewall.

i allowed 20 and 21 port in "CSF" firewall

now when i or our client connect to the server connection done.

and the they fire dir or ls command they will receive error

"425 Could not open data connection to port 2535: Connection timed out"

what is the problem.i have already allowed passive port 2500:3500 then why i received this types of error

View 3 Replies View Related

How Do I Reset RTG Graph

Apr 23, 2007

I just recently installed RTG to poll my switch.

I am trying to figure out how to reset RTG per port so that it would poll data from the beginning.

Example: I only want to restart the polling on port1, how would I reset the RTG to do so?

View 2 Replies View Related

Fortigate 50 Reset

Sep 6, 2007

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.

View 1 Replies View Related

Auto Reset Script

Jun 26, 2009

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?

View 1 Replies View Related

HyperVM Password Reset

Apr 13, 2009

HyperVM seems to have messed up its passwords during rsyncing. Is there a way I can force a password reset without the lost password feature?

View 11 Replies View Related

CPanel WHM Password Reset

Oct 31, 2009

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).

View 5 Replies View Related

Reset Root Password

Dec 4, 2008

im forget my server root password, i have kvm access to server, i have centos5 dvd on server too.

how can reset root password now?

View 2 Replies View Related

Sending Reset Packet

Apr 12, 2007

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

View 1 Replies View Related

Server Requiring Reset Every Day

Sep 21, 2007

I have a problem with a windows 2003 server.

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.

View 6 Replies View Related

Reset Password With Single Line

Jul 18, 2009

how to reset a password via a single line command? Or script? To make it automated?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved