Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Sync keeps stopping
sam
#1 Posted : Monday, 24 January 2011 4:17:51 AM(UTC)
Rank: Advanced Member

Joined: 5/08/2007(UTC)
Posts: 157
Location: England

i have just setup a new site and uploaded 2500 media objects.

the sync looks like it all goes well and about a quarter of the way through then it stop's for about 30secs then comes up with complete, it doesn't leave an error.

so I thought it may be a corrupted file. i decide to run it again and it made it further.

the only thing i can see happening is when the sync comes up it's complete and you click all albums, it's logged me out.

so what i am wondering, is there a time out on GSP which is logging me out and stopping the sync happening.

if so where can i change this.

Thanks Sam
I donated. Did you?
Roger Martin
#2 Posted : Monday, 24 January 2011 9:00:47 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

The default page timeout is 24 hours (defined in web.config), so that's probably not it.

I think your IIS process is recycling for some reason. Is it shared with another app that triggers recycles? Do you see anything in the OS event log to indicate recycling?

Note that if your media objects directory is within the web app hierarchy, then deleting an album (which deletes a directory) will trigger a restart. (This is an ASP.NET thing) Are you perhaps deleting an album in one area of the gallery while you are waiting for the synch?
Roger Martin
Creator and Lead Developer of Gallery Server Pro
sam
#3 Posted : Monday, 24 January 2011 9:17:36 AM(UTC)
Rank: Advanced Member

Joined: 5/08/2007(UTC)
Posts: 157
Location: England

i thought it was something like the IIS restarting. i'm hosting on Arvixe. i restarted the app poole on there CP but with no effect.

if i browse GSP it's all fine it only does it on the upload or sync. i am tempted to reinstall and use sqllight to see if that helps.

i could try talking to the host but i can see that being a pain with this current issue.

my mediaobject are in the \gs\MyPics i have had it this way for a long time with no problems.

any ideas thanks for your time.

Sam
I donated. Did you?
Roger Martin
#4 Posted : Monday, 24 January 2011 9:43:09 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I use Arvixe, too, and recently synched 100,000 files on the demo site without experiencing the issue. That was with SQL Server, but I'm not sure that makes a difference.

The only thing I can suggest is to move your media directory out of the web app hierarchy. I created a new directory at the same level as wwwroot and called it media. Then I copied all the media files to it and updated the media objects path in GSP's site admin area. It may not help but it is a good idea anyway since it won't trigger restarts during album deletions and it makes upgrades a little simpler (since your files are safely tucked away).
Roger Martin
Creator and Lead Developer of Gallery Server Pro
sam
#5 Posted : Monday, 24 January 2011 10:28:49 AM(UTC)
Rank: Advanced Member

Joined: 5/08/2007(UTC)
Posts: 157
Location: England

Roger Martin wrote:
I use Arvixe, too, and recently synched 100,000 files on the demo site without experiencing the issue. That was with SQL Server, but I'm not sure that makes a difference.

The only thing I can suggest is to move your media directory out of the web app hierarchy. I created a new directory at the same level as wwwroot and called it media. Then I copied all the media files to it and updated the media objects path in GSP's site admin area. It may not help but it is a good idea anyway since it won't trigger restarts during album deletions and it makes upgrades a little simpler (since your files are safely tucked away).


i think that done the trick upload a folder fine.

here is a weird thing it managed to lose its handles for no reason strange.
I donated. Did you?
sam
#8 Posted : Monday, 24 January 2011 11:40:48 AM(UTC)
Rank: Advanced Member

Joined: 5/08/2007(UTC)
Posts: 157
Location: England

error still there.

when i upload i get this message

upload error. thread being aborted.

any ideas?
I donated. Did you?
Roger Martin
#9 Posted : Monday, 24 January 2011 12:39:38 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Please provide more details. You said the error is still there, but you originally said there wasn't an error. ??? And now you are uploading, which is an entirely different process than syncing.

Do all uploads fail? Just certain file types? Just big ones? Is this a change in behavior? Do you still get the error in a browser other than Firefox or IE?
Roger Martin
Creator and Lead Developer of Gallery Server Pro
sam
#10 Posted : Monday, 24 January 2011 3:09:35 PM(UTC)
Rank: Advanced Member

Joined: 5/08/2007(UTC)
Posts: 157
Location: England

Roger Martin wrote:
Please provide more details. You said the error is still there, but you originally said there wasn't an error. ??? And now you are uploading, which is an entirely different process than syncing.

Do all uploads fail? Just certain file types? Just big ones? Is this a change in behavior? Do you still get the error in a browser other than Firefox or IE?


sorry for the confusion. it kept on stopping on the sync and upload. if i uploaded a zip i get the thread abort error.

what i have done so far is delete my GSP install, Reloaded it and now using sqllite i have just uploaded 1TB and all fine.

just corrupt or bad install, all back end setting stayed the same as well as my MyPics folder.

thanks for all your help
I donated. Did you?
sam
#12 Posted : Wednesday, 26 January 2011 8:18:55 AM(UTC)
Rank: Advanced Member

Joined: 5/08/2007(UTC)
Posts: 157
Location: England

Hi,

sorry for all the posts.

i think i am slowly getting there with my synch problems.

arvixe found an issue there end and re setup my account.

the sync seems to be going alot smoother now, but now and again i get an HTTP 12152 error in the sync window.

no error message makes it to the error log.

if i restart the sync it just carrys on from where it left off.

any idea what could cause this error.

(my sync is not complete yet)
Code:
Error: : The server method 'Synchronize' failed.

HTTP Status: 12152

Stack trace
I donated. Did you?
Roger Martin
#13 Posted : Wednesday, 26 January 2011 8:46:59 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I am curious what Arvixe fixed. Please provide details if you know them.

If no error is getting logged in the error log, that means the error is not with the synch but with the HTTP communication between the browser and the server. This seems to be fairly common but I'm not sure what I can do about it, short of adding logic to retry if a failure occurs.

It is possible the synch is continuing on the server even after the error occurs, so consider just leaving it alone for a while.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
jeffsti
#6 Posted : Wednesday, 26 January 2011 10:40:51 AM(UTC)
Rank: Newbie

Joined: 15/12/2010(UTC)
Posts: 3
Location: Buffalo, NY

Roger Martin wrote:
I use Arvixe, too, and recently synched 100,000 files on the demo site without experiencing the issue. That was with SQL Server, but I'm not sure that makes a difference.

The only thing I can suggest is to move your media directory out of the web app hierarchy. I created a new directory at the same level as wwwroot and called it media. Then I copied all the media files to it and updated the media objects path in GSP's site admin area. It may not help but it is a good idea anyway since it won't trigger restarts during album deletions and it makes upgrades a little simpler (since your files are safely tucked away).


Roger, this is off topic from the sync issue -- but can you describe moving the media directory in more detail -- that is, using shared hosting my entire directory is also the web app. Is moving the directory possible only when using dedicated hosting?

I used the integrated approach and so the gallery is in a (private) section of my site:
www.stievater.com/Photos/default.aspx

Do I just need to move the media directory out of the /Photos folder?
Roger Martin
#14 Posted : Wednesday, 26 January 2011 10:52:31 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

To prevent restarts when an album is deleted, you must move the media objects directory outside the web application. I can't tell from your post whether moving the files out of the Photos directory is sufficient.

Your web site is located in a directory named wwwroot at Arvixe. Do you see it? (Use the Control Panel or FTP) If you move the media objects outside of this directory, that will be sufficient in preventing restarts.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Mark Bennion
#7 Posted : Saturday, 30 July 2011 11:48:04 PM(UTC)
Rank: Member

Joined: 30/07/2011(UTC)
Posts: 4
Location: Scottsdale, AZ

Roger Martin;6412 wrote:
I use Arvixe, too, and recently synched 100,000 files on the demo site without experiencing the issue. That was with SQL Server, but I'm not sure that makes a difference.

The only thing I can suggest is to move your media directory out of the web app hierarchy. I created a new directory at the same level as wwwroot and called it media. Then I copied all the media files to it and updated the media objects path in GSP's site admin area. It may not help but it is a good idea anyway since it won't trigger restarts during album deletions and it makes upgrades a little simpler (since your files are safely tucked away).


I was struggling with numerous cases of synchronization stopping. Occasionally I would get HTTP 12152, but usually it just locked up. It was never on the same picture and I was not performing any other activity. It also was happening for just two or three albums. When I saw that Roger said it was a good idea to move the mediaobjects folder to the same level as wwwroot, of course I did it. I also moved the compressed images and thumbnails folder to the same level. It worked for me. It didn't solve it 100%, but it is vastly improved. I have only had one synchronization failure so far since then.
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.