Image gallery bulk upload failing

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
7/14/2012 11:23:04 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Image gallery bulk upload failing

I have an image gallery where I can upload single images, and sometimes two at a time with "bulk upload", but any more than two doesn't work. It appears to succeed, in that the "progress" popup says completed then disappears. But no image thumbnails appear and I have this in the system log (from one episode trying to upload four files):

2012-07-14 11:18:50,970 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-14 11:18:51,422 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task
2012-07-14 11:18:51,422 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread
2012-07-14 11:18:52,935 ERROR (null) - (null) - (null) - mojoPortal.Web.Global -  Referrer(none) useragent Shockwave Flash
System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
   at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
   at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
   at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString, Byte[] encryptionKey, Byte[] unused, String encryptionAlgorithm, String validationAlgorithm, Deserializer deserializer, SignatureChecker sigChecker)
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString, Byte[] encryptionKey, Byte[] validationKey, String encryptionAlgorithm, String validationAlgorithm)
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString)
   at Brettle.Web.NeatUpload.UploadHttpModule.GetCookiesFromQueryString(String qs)
   at Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2012-07-14 11:18:52,998 INFO (null) - (null) - (null) - mojoPortal.Web.Global - crypto error trapped and returned a 404 instead of 500 for security reasons
2012-07-14 11:18:53,076 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-14 11:18:55,774 ERROR (null) - (null) - (null) - mojoPortal.Web.Global -  Referrer(none) useragent Shockwave Flash
System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
   at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
   at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
   at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString, Byte[] encryptionKey, Byte[] unused, String encryptionAlgorithm, String validationAlgorithm, Deserializer deserializer, SignatureChecker sigChecker)
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString, Byte[] encryptionKey, Byte[] validationKey, String encryptionAlgorithm, String validationAlgorithm)
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString)
   at Brettle.Web.NeatUpload.UploadHttpModule.GetCookiesFromQueryString(String qs)
   at Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2012-07-14 11:18:55,977 INFO (null) - (null) - (null) - mojoPortal.Web.Global - crypto error trapped and returned a 404 instead of 500 for security reasons
2012-07-14 11:18:59,269 ERROR (null) - (null) - (null) - mojoPortal.Web.Global -  Referrer(none) useragent Shockwave Flash
System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
   at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
   at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
   at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString, Byte[] encryptionKey, Byte[] unused, String encryptionAlgorithm, String validationAlgorithm, Deserializer deserializer, SignatureChecker sigChecker)
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString, Byte[] encryptionKey, Byte[] validationKey, String encryptionAlgorithm, String validationAlgorithm)
   at Brettle.Web.NeatUpload.ObjectProtector.Unprotect(String secureString)
   at Brettle.Web.NeatUpload.UploadHttpModule.GetCookiesFromQueryString(String qs)
   at Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2012-07-14 11:18:59,362 INFO (null) - (null) - (null) - mojoPortal.Web.Global - crypto error trapped and returned a 404 instead of 500 for security reasons

mojoPortal Version 2.3.8.5 MSSQL

Operating System Microsoft Windows NT 6.0.6002 Service Pack 2

ASP.NET Info v4.0.30319 Running in Full Trust

 

7/14/2012 11:47:51 AM
Gravatar
Total Posts 18439

Re: Image gallery bulk upload failing

It looks to me like the application pool is recycling during the upload, this could happen in a low memory environment, often hosts configure the application pool to recycle when a certain memory limit is reached, if this memory limit is configured too low it causes performance and other problems because the application recycles constantly. In this case it seems that if you are uploading more than one or two images at a time the memory needed to upload the images is tipping it over that limit and when the app pool recycles during the upload it causes failure to complete the upload.

You'll notice the application start event logged along with the other events all within the same minute and within a few seconds of each other.

Better hosting or a higher memory limit on the app pool should solve it.

Hope that helps,

Joe

7/14/2012 11:50:59 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Image gallery bulk upload failing

OK thanks Joe that makes sense. It must be a very low limit because these are images of around 200-300K each!   I'll have a word with Arvixe.

7/14/2012 11:54:19 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Image gallery bulk upload failing

Question - can I upload images into an image gallery feature by FTP?  I'm guessing not as they appear to be processed on upload into full/web/thumb folders.

I have a few hundred, and the prospect of uploading them two at a time is not filling me with joy.

7/14/2012 1:08:23 PM
Gravatar
Total Posts 18439

Re: Image gallery bulk upload failing

You can upload by ftp for the folder gallery but not the image gallery. 

About the memory, the thing is it isn't just the images its the aggregate of memory used to run your site and I'm pretty sure Arvixe gives about 200 MB memory limit which is about standard for any decent shared hosting with ASP.NET, its the same amount that Discount ASP provides. I'm not sure you'll be able to get more out of them, but of course you can always ask.

The way .NET manages memory with garbage collection tends to keep things in memory even after they are not being used but eventually when it needs more memory it garbage collects the memory from the no longer used objects.

The images just seem to be tipping it over the top of the limit when you upload more than a few at a time and that causes the recycle of the app.

Best,

Joe

7/14/2012 6:01:46 PM
Gravatar
Total Posts 355

Re: Image gallery bulk upload failing

Crispin,

What you're experiencing might also be a combination of shared hosting limitations, and a shared server that's close to full capacity. When you touch bases with Arvixe, ask if it's possible to move your hosting account to another server; that's helped others here with shared hosting on Arvixe.

If you'd like, I can assist in escalating your issue; it's one of the things I do as the Arvixe Community Liaison.

7/15/2012 12:42:38 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Image gallery bulk upload failing

Thanks Joe and Indigo Tea

Arvixe have a 250MB stated limit for Personal ASP hosting, which is what my site is on.

https://support.arvixe.com/index.php?/Knowledgebase/Article/View/138/4/imposed-memory-limit-in-windows-servers

I'm accustomed to seeing mojo sites using perhaps 120-150MB RAM when running on our own servers, but I've never seen one over 200.  And my site only had 375 visits yesterday. So it's still hard to see how uploading 600K as 3 images would push it over 250MB.

I went on Arvixe "chat" support, and the chatter went to check how much memory my site was actually using while I tried the uploads, but instead of telling me the answer, at that point he decided that it needed further investigation and converted it into a support ticket.  To me this suggests he found it was only using (e.g.) 150MB but was still recycling like a hippie.

I'll certainly ask about a server move, because this is unusable. Particular when I can push 200 images at a time up to SkyDrive, Flickr, etc.

Perhaps this also raises a design question about the Image Gallery feature... is it handling the multiple uploads as nicely as possible? I've a feeling that (at work) we've been using something else in preference to Neat Upload lately, but I'll need to check this.

7/15/2012 12:20:11 PM
Gravatar
Total Posts 18439

Re: Image gallery bulk upload failing

With any shared hosting your site is on a server with lots of other sites and the overall server performance can be affected by the performance or load characteristics of the other sites, sometimes there can be one rogue site causing lots of problems. So asking to move to a different server is not a bad idea if you are having trouble.

I don't think there is anything inefficient about the way we are processing uploads or images.

Long term I have my eye out for something to replace NeatUpload but at the moment I still believe its the best option available. There are a few specific things I have an eye on that are still evolving and not quite mature enough yet but that show some promise. My main beef with  NeatUpload is that we can only use it in full trust hosting. Once we get to a point where the vast majority of users have browsers with full html 5 support there will be better ways of doing things such as upload progress bars but until then its complicated by all kinds of needed workarounds for older browsers.

Best,

Joe

7/18/2012 1:45:58 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Image gallery bulk upload failing

I've been talking to Arvixe tech support and they say there is adequate headroom on the server I'm on, and that the app should be able to use its full 250MB.  Arvixe are asking me how much memory my application is demanding... can you help me answer that one?

I now find that I can upload about 5 images at one go right now (250K each) - but not more - clearly showing that the behaviour does depend on server load, because when I started this thread it failed on 3.

How many files of this size should I be able to upload with NeatUpload? How much memory is this demanding?

And now I'm seeing lots of sequences like this in my server log:

2012-07-18 12:01:57,716 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 12:02:14,050 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 12:09:57,806 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 12:12:14,057 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 12:20:59,137 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 12:22:14,095 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 12:28:12,427 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 12:31:52,060 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 12:35:10,991 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 12:35:14,563 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 12:36:12,205 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 12:36:15,419 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 12:37:11,532 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 12:37:57,958 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 12:57:11,578 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 13:01:37,433 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 13:05:11,668 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 13:05:12,838 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 13:06:12,851 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 13:06:40,104 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 13:08:11,988 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 13:08:48,258 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 13:10:12,061 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 13:11:50,341 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 13:12:12,166 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 13:12:19,030 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 13:13:12,366 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 13:16:48,457 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-18 13:17:12,450 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-18 13:17:16,522 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.

suggesting that something is causing my app pool to recycle even when I'm not doing anything. Should I be concerned? I think yes!?

 

7/18/2012 2:05:19 PM
Gravatar
Total Posts 18439

Re: Image gallery bulk upload failing

Yes, you should be concerned about that, it does seem to indicate that your app pool is recycling continuously and the only thing I know of that causes that is reaching the memory limit so it seems your site is reaching the limit immediately after starting and continuously recycling.

I have no way of knowing how much memory your site is actually using. In .NET we are using higher level programming languages where we don't manage memory directly from application code it is handled by the runtime, ie we don't allocate or de-allocate memory from application code like low level languages such as C and C++.

Arvixe should be able to determine how much memory your app is actually using.

By default we are using very minimal caching but if you have configured to use more caching or running multiple sites from one installation that will require more memory. I know there are lots of people using mojoPortal on Arvixe and not having frequent app pool recycling so there is something peculiar to your installation or it doesn't really have enough memory available.

It also matters whether you have any custom code of your own involved? It is definitely possible to write code that leaks memory but I'm not aware of any memory leaks in the code we ship.

Also how many sites are you running in your package? Do they allocate you more memory per site or you get a fixed amount for all sites? Some hosts will let you run as many sites as you want in a package but it doesn't mean you get more server resources for each site, you get what you pay for.

You may need to escalate this to a higher level support at Arvixe.

7/18/2012 2:37:10 PM
Gravatar
Total Posts 2253

Re: Image gallery bulk upload failing

Hi Crispin,

If you want to setup your site on alternative hosting to see and see if the problem persists, I'll give you a month of free hosting @ i7MEDIA to troubleshoot it.

Just send us a note here and reference this thread if you are interested.

Thanks,
Joe D.

7/18/2012 2:56:40 PM
Gravatar
Total Posts 355

Re: Image gallery bulk upload failing

Crispin,

This really is unusual behavior on an Arvixe server. The custom MegaGallery from IndigoTea is still using the NeatUploader at this time, and I have customers using it to upload a hundred hi-res photos at a time, if not more. Even on the shared hosting, I've never seen this behavior. As Joe A. mentioned - have you made any alterations to the base package that might be triggering this?

7/18/2012 10:26:02 PM
Gravatar
Total Posts 1

Re: Image gallery bulk upload failing

Hi Crispin,

One of the server administrators took a look at your account and made adjustments to your application pool. He believes that it will improve the service that you are getting for that site. Please let us know if you are still having issues with it.

 

Regards,

 

7/19/2012 2:22:55 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Image gallery bulk upload failing

A quick test shows that I can now upload 10 images at 250K without a problem, so thanks for making that change Arvixe QA.  I'd be interested to know what settings were changed on the app pool for future reference.

As I write, an upload of 35 images has stalled after the initial (successful) upload, possibly when mojoPortal does the image resizing, and the log shows my app pool has recycled again, but I'll be happy(ish) if I can manage 10 at a time.

In answer to questions above, I do have a custom feature (race results database) on this page http://www.breconfans.org.uk/Results but I don't think it is leaky - it's pretty simple!

I'll bear your hosting offer in mind Joe D - appreciated.

7/19/2012 1:51:19 PM
Gravatar
Total Posts 355

Re: Image gallery bulk upload failing

Crispin,

I'd be curious to see how a site on the same server would handle that image upload without the custom piece, just for the sake of comparison. You've only got the single mojoPortal site with Arvixe?

7/19/2012 3:10:50 PM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Image gallery bulk upload failing

I have another site under the exact same hosting account, but without any custom features. The behaviour between the two sites is the same. Right now I can upload 50 images on both sites, but not 100. It's certainly massively better that before Arvixe made whatever change they made to the app pool config, so thanks for your help with this.

However, I see from the system log on the other site that its app pool has also been recycling madly (though the two sites have separate app pools each with the 250MB allowance, but they should be ring-fenced). For example this list dates from after Arvixe tweaked something

2012-07-19 00:11:43,188 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 00:15:29,840 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 00:35:28,825 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 00:50:33,032 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 01:10:32,329 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 01:10:52,079 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 01:30:32,422 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 01:31:27,770 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 01:50:32,483 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 01:53:31,399 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 02:10:33,886 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 02:17:49,500 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 02:30:32,605 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 02:32:26,828 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 02:50:32,666 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 02:52:05,299 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 03:10:32,774 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 03:12:25,235 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 03:30:32,851 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 03:34:49,424 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 03:50:32,928 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 03:51:10,805 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 04:10:32,958 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 04:12:45,355 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 04:23:32,864 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 04:33:25,867 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 04:53:25,117 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 04:54:26,191 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 05:13:25,163 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 05:14:23,101 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 05:33:25,255 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 05:35:29,899 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 05:53:25,301 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 06:15:06,637 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 06:35:05,794 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 06:37:21,810 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 06:55:05,870 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 06:59:53,176 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 07:15:05,978 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 07:31:46,141 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 07:42:45,288 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 07:57:45,611 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 08:08:43,166 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 08:09:36,893 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 08:26:35,588 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 08:53:08,473 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 09:07:03,245 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 09:12:25,104 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 09:30:24,234 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 10:05:28,066 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 10:16:26,822 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 10:29:07,135 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 10:40:06,391 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 10:46:46,172 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 11:00:42,535 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 11:00:57,823 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 11:11:56,954 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 11:19:31,648 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 11:30:31,699 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 12:14:42,592 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 12:27:41,422 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 12:27:49,736 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 12:47:50,344 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 13:10:53,252 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 13:30:49,991 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 13:37:30,692 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 13:50:51,862 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 13:59:12,216 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 14:10:50,254 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 14:20:20,480 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.
2012-07-19 14:30:50,018 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End
2012-07-19 14:32:25,366 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Application Started.

 

 

7/21/2012 12:59:48 AM
Gravatar
Total Posts 9

Re: Image gallery bulk upload failing

Hi Crispin,

What you are seeing in the logs is actually the regular recycle time. Its only on a few servers right now as we test it out. Most shared hosting environments are required to have a set number of minutes that an application pool goes before recycling because it helps a large number of applications prevent from crashing. Mojoportal doesnt need it, but unfortunately other apps do. I've raised it on your server, and in fact it can be raised for a specific website if needed. I'm not sure if its the cause, but I've just about tripled the value of it. So give it a try. The memory limit of 250mb(which actually ends up giving you more than 250MB when server has free memory) cannot be raised on PersonalClassASP and I dont think is the cause of your problem anyway. However, on BusinessClass ASP it is 500MB and on VPSClass ASP/ DedicatedClass, it is whatever you want to set it to.

 

Best Regards,

Avesta Sabetian

Sr Technical Officer, Arvixe.com

7/21/2012 2:58:49 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Image gallery bulk upload failing

OK I understand - and now my logs show recycling every 60 minutes - thank you for making this change. On the mojoPortal sites we run at work we set the app pool to recycle every 24 hours, but I can see in shared hosting you need to be more conservative.

All appears to be working well now. My previous upload of >50 x 250KB images was probably failing because of the 20 minute recycle (I'm on a slow broadband connection!).
Crispin

You must sign in to post in the forums. This thread is closed to new posts.