| Author |
|
paradyse Groupie

Joined: 09 September 2005 Location: United States
Online Status: Offline Posts: 43
|
| Posted: 26 January 2008 at 12:50am | IP Logged
|
|
|
We have a few dedicated web servers over at Maximum ASP (www.maximumasp.com) 1 web server is running 2003 Web Server SP1 and 2 of them are running 2003 Server SP2. The Isapi 2 and 3 components worked well on our older server running Windows 2003 SP1. But on our new, far more powerful servers running Windows 2003 SP2 with all the latest patches, the entire server performs quite poorly. Senior engineers over at MaximumASP have concluded that Isapi seems to be conflicting with the system, probably SP2 and is causing IIS to fail several times throughout the day. The site fails to respond and we have to reboot IIS all day long. This is a tremendous nuisance and unacceptable. Unfortunately the majority of our site uses Isapi so we have to have it in place. Again, the machines without SP2 work perfectly fine with Isapi. Please help us resolve this issue ASAP somehow. We are all out of options. BTW, we are using Isapi v3.1.0.34
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 4687
|
| Posted: 28 January 2008 at 3:58am | IP Logged
|
|
|
Please tell what is your system configuration. And provide Application and System logs.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
nyphalanx Newbie

Joined: 28 January 2008 Location: United States
Online Status: Offline Posts: 1
|
| Posted: 28 January 2008 at 2:08pm | IP Logged
|
|
|
I have been encountering the same issue on our servers too. We have to reset IIS a few times a day. We're using a Windows 2003 server with Service Pack 2.
This is the entry we found in our IIS Log.
The following threads in w3wp__PID__4688__Date__01_25_2008__Time_02_27_34PM__237__First chance exception 0XE0434F4D.dmp are calling the Sleep API. The call to this API originated from ISAPI_Rewrite!HttpFilterProc+17168.
1.72% of threads blocked
|
| Back to Top |
|
| |
paradyse Groupie

Joined: 09 September 2005 Location: United States
Online Status: Offline Posts: 43
|
| Posted: 29 January 2008 at 12:01am | IP Logged
|
|
|
The server configuration we are using is...
-------------------------------------------------
OS Name: Microsoft(R) Windows(R) Server 2003, Enterprise Edition | Version 5.2.3790 Service Pack 2 Build 3790
OS Manufacturer: Microsoft Corporation
System Manufacturer: Dell Inc., PowerEdge 2900, X86-based PC
Processor: Intel Zeon E5310 2xQuad Core (8 Core) x86 Family 6 Model 15 Stepping 11 GenuineIntel ~1595 Mhz X 8
BIOS Version/Date: Dell Inc. 1.5.1, 8/10/2007
SMBIOS Version: 2.4
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
Locale: United States
Hardware Abstraction Layer: Version = "5.2.3790.3959 (srv03_sp2_rtm.070216-1710)"
Time Zone: Eastern Standard Time
Total Physical Memory: 8,190.98 MB
Available Physical Memory: 5.46 GB
Total Virtual Memory: 25.57 GB
Available Virtual Memory: 23.00 GB
Page File Space: 17.76 GB
IIS: IIS 6
Hard Drives: 3x146 SAS 10K RAID 5
-------------------------------------------------
As you can see, this servers are powerful enough to handle anything we can throw at it. We just brought them online a couple of months ago and have been having major performance issues ever since. We have lost a tremendous amount of money and time. Although our main site receives a tremendous amount of traffic on a daily basis, the server shouldn't even hiccup. We need to get to the bottom of this problem ASAP because it is literally killing our business. We have been using ISAPI Rewrite for years without problem until we moved to the new 2003 servers running SP2. Now IIS constantly crashes and we have to reset IIS several times a day and even reboot the entire server.
The link to download the System and Application Event Log files in tab-delimited format for both servers can be found here. We are having the exact same issues an both SP2 servers where the SP1 servers ran fine but I think the errors were different so I attached logs from both servers. Again, senior techs over at Maximum ASP both pointed the finger at ISAPI for causing the poor performance issues after we got the other little issues resolved and 7 of our sites use ISAPI heavily. We were using ISAPI 2.0 but upgraded to 3.0 hoping that the issue would be resolved after the engineers pointed us at ISAPI for causing the issues. I don't think I have to express to you again how critical this matter is but I hope you can realize that our business and livelihood depends on getting this matter resolved ASAP.
Please help us get this issue resolved. If you need anything else or if the info provided isn't sufficient please let me know immediately and explain to me how to get exactly what you need in the format you need it.
Server 1 Log Download
Server 2 Log Download
|
| Back to Top |
|
| |
paradyse Groupie

Joined: 09 September 2005 Location: United States
Online Status: Offline Posts: 43
|
| Posted: 29 January 2008 at 6:07am | IP Logged
|
|
|
bump
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 4687
|
| Posted: 29 January 2008 at 8:53am | IP Logged
|
|
|
We have analyzed the submitted logs and didn't see any records connected with failure of ISAPI_Rewrite. Please make sure your site works fine with ISAPI_Rewrite switched off. Haven't you mentioned any weird behavior of your server like memory leaks etc?
__________________ Regards,
Anton
|
| Back to Top |
|
| |
paradyse Groupie

Joined: 09 September 2005 Location: United States
Online Status: Offline Posts: 43
|
| Posted: 29 January 2008 at 9:23am | IP Logged
|
|
|
Did you search through all of the logs I provided? Our engineer said there were some Isapi references in there.
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 4687
|
| Posted: 30 January 2008 at 7:35am | IP Logged
|
|
|
Of course, we have thoroughly investigated your logs. According to them there were some errors in w3wp, but they are not connected with ISAPI_Rewrite.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
Ocean Newbie

Joined: 01 February 2008
Online Status: Offline Posts: 1
|
| Posted: 01 February 2008 at 1:29am | IP Logged
|
|
|
We just purchased today, and noticed a couple of threads about this config - isapi 3/iis6/w2k3 sp2.
Is this an issue we should be concerned about before we deploy?
Thanks in advance.
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 4687
|
| Posted: 01 February 2008 at 4:11am | IP Logged
|
|
|
These are solitary problems and usually they are not caused by ISAPI_Rewrite. ISAPI_Rewrite 3.x is tested for w2k3 sp2 and it works OK.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
paradyse Groupie

Joined: 09 September 2005 Location: United States
Online Status: Offline Posts: 43
|
| Posted: 01 February 2008 at 4:52am | IP Logged
|
|
|
It appears that after making sure all of the permissions were set properly as provided in the Helicon help docs, that everything is all good. We never had to do this before until this configuration but nevertheless it appears to have corrected the issue as far as we can tell so far. If something comes up I will be sure to post back.
Edited by paradyse - 01 February 2008 at 4:52am
|
| Back to Top |
|
| |
gaddio Newbie

Joined: 25 August 2005 Location: United States
Online Status: Offline Posts: 2
|
| Posted: 01 February 2008 at 12:08pm | IP Logged
|
|
|
We've had similar problems. However, we have verified that our permissions are properly set, according to the documentation. Still, ISAPI Rewrite functionality will suddenly stop. We have narrowed down the timing, but we don't know why it dies on us. Here is our setup:
We use two map files, categorymap.txt and productmap.txt. .htaccess refers to both of these maps. Whenever our marketing team adds a new product or creates a new category on our site (happens many times daily), our system automatically regenerates the .htaccess, productmap.txt, and categorymap.txt file and saves them across our LAN to the root of our web site (specifically, .htaccess goes to the root, and the map files go to the sub-folder /rewrite). Sometimes when this auto-regeneration happens, the ISAPI filter stops rewriting our product pages--however, our category pages are still being rewritten just fine! The application pool in which our site runs uses the NETWORK SERVICE account, and I've verified that the web root and the /rewrite directory have Modify permissions checked for that account. I've also set up the same permissions for the Program Files/Helicon directory.
In order to get things working, I have to restart IIS. However, this quick fix is not ideal.
Any suggestions as to why our product map stops working while our category map keeps chugging away after writing new versions of the files to disk?
By the way, the account that writes the files to disk (and who is the "owner" of the files) is a different account than NETWORK SERVICE. Could this be the culprit?
Thanks.
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 4687
|
| Posted: 04 February 2008 at 6:18am | IP Logged
|
|
|
Please provide rewrite and IIS logs for the period when ISAPI_Rewrite fails to rewrite pages.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
paradyse Groupie

Joined: 09 September 2005 Location: United States
Online Status: Offline Posts: 43
|
| Posted: 04 February 2008 at 10:38pm | IP Logged
|
|
|
In our case, it never failed to rewrite pages because it crashed the entire IIS to the point where IIS needed to be restarted to get any pages to show up at all. That's why there are no specific errors to refer to. After an enormous amount of troubleshooting and Internet digging we learned that this problem only occurs on SP2 versions of Windows 2003 Server with ISAPI RW v2 or v3. SP1 was fine.
In addition to the permissions issue that we addressed above, I forgot to mention that we also switched from Network Service to Local System since we have a dedicated server. It appears that this combination of things resolved the issues but it still needs to be officially addressed by Helicon.
|
| Back to Top |
|
| |
dragonfly Newbie

Joined: 05 February 2008 Location: Belgium
Online Status: Offline Posts: 1
|
| Posted: 05 February 2008 at 5:08am | IP Logged
|
|
|
paradyse wrote:
| In addition to the permissions issue that we addressed above, I forgot to mention that we also switched from Network Service to Local System since we have a dedicated server. It appears that this combination of things resolved the issues but it still needs to be officially addressed by Helicon. |
|
|
I'm facing the same issues, I'll check my permissions. Didn't do that since v2 was working fine.
Regarding your change to local system account, I wouldn't do that if I was you. Now your website has full access to the system!! Continue to troubleshoot the permissions when it runs under Network Service.
|
| Back to Top |
|
| |
tsophon Newbie

Joined: 26 June 2008
Online Status: Offline Posts: 11
|
| Posted: 26 June 2008 at 11:47am | IP Logged
|
|
|
I'm having the same problems. If there is a resolution for this, could anyone please let me know?
I'm using II6 on Windows 2003 Server SP2 with ISAPI_Rewrite3 Trial version 3.1.0.50
|
| Back to Top |
|
| |
Sergey Moderator Group

Joined: 11 March 2005
Online Status: Offline Posts: 712
|
| Posted: 27 June 2008 at 6:55am | IP Logged
|
|
|
Please describe your problem in more detail.
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 4687
|
| Posted: 27 June 2008 at 8:54am | IP Logged
|
|
|
Please give more explicit explanation of your problem. Provide your config file, rewrite and IIS log records.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
tsophon Newbie

Joined: 26 June 2008
Online Status: Offline Posts: 11
|
| Posted: 27 June 2008 at 10:08am | IP Logged
|
|
|
Hi Anton and Sergey,
I installed v3.1.0 build 50 on my Windows Server 2003 R2 SP2 Standard Edition in the directory: C:\Program Files\Helicon\ISAPI_Rewrite3.
Permission has been granted for IIS_WPG (modify, read & write) to the folder where .htaccess is placed on the virtual site folder.
This is 2 warning messages in the event log. It happens every hour.
1) Source: Application Popup (Event ID: 26)
Application popup: w3wp.exe - Application Error : The instruction at "0x035f2fdc" referenced memory at "0x035f2fdc". The memory could not be "written".
Click on OK to terminate the program Click on CANCEL to debug the program
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
2) Source: W3SVC (Event ID: 1013)
A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '2256'.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
--------------------------------------------------
And my rewrite is below:
# Helicon ISAPI_Rewrite configuration file # Version 3.1.0.50
DirectoryIndex /mm5/merchant.mvc
RewriteEngine On
RewriteRule ^([A-Za-z0-9_-]+)/([^.]+)\.html$ /mm5/merchant.mvc?Screen=PROD&Product_Code=$2&Category_Code=$1 RewriteRule ^([A-Za-z0-9_-]+)\.html$ /mm5/merchant.mvc?Screen=USL&Code=$1 [T=application/x-httpd-mv]
--------------------------------------------------
I followed the installation and configuration setting in the documentation. Might be I miss some setting that should allow permission for the software to read & write.
Please help. Thanks.
Tanya
|
| Back to Top |
|
| |
Sergey Moderator Group

Joined: 11 March 2005
Online Status: Offline Posts: 712
|
| Posted: 01 July 2008 at 6:26am | IP Logged
|
|
|
Please follow these instructions:
1. Follow this URL and install DebugDiag tool:
http://www.microsoft.com/downloads/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en
2. Extract ".pdb" files (please send a letter to support@helicontech email and we'll send them to you) to the directory where ISAPI_Rewrite is installed.
3. Start DebugDiag tool, click Tools -> Options and Settings and add path to ISAPI_Rewrite installation directory to "Symbol Search Path for Analysis" field.
4. In DebugDiag tool click "Add rule", Select "Crash" from the list.
5. Choose "Crash" -> "All IIS/Com+ Related" -> select "Log Stack Trace" (or "Full UserDump" to obtain complete info about error)
6. Press Next -> Next
7. Choose "Activate Rule Now" and press Finish
Now the rule should appear in the list. When an error occurs, in "Userdump count" line instead of 0 the number of dumps that DebugDiag has performed will be displayed
8. Press Analize data and send us resulting dump via e-mail.
|
| Back to Top |
|
| |