mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   PrimeNet (https://www.mersenneforum.org/forumdisplay.php?f=11)
-   -   OFFICIAL "SERVER PROBLEMS" THREAD (https://www.mersenneforum.org/showthread.php?t=5758)

Lorenzo 2017-01-23 15:48

Hello!

Could someone help me.

During my experiment I found a factor 633825300114114700748355807449 for M332521939 but can't upload to PrimeNet.

PrimeNet error: [COLOR="Red"]Error code: 45, error text: 633825300114114700748355807449 is not a factor of M332521939[/COLOR]

Seems it's not a factor for 332521939 ... but not sure. I want to find issue where i'm wrong. :blush:

James Heinrich 2017-01-23 15:54

It's not a factor of that exponent. Are you sure you copied the whole factor and didn't miss a digit?
What program did you use to find the factor? What is the complete result text from that program?

axn 2017-01-23 16:09

633825300114114700748355807449 is prime, but does not divide any mersenne numbers.

Your factor finding algorithm has a bug.

Lorenzo 2017-01-23 16:12

[QUOTE=James Heinrich;451436]It's not a factor of that exponent. Are you sure you copied the whole factor and didn't miss a digit?
What program did you use to find the factor? What is the complete result text from that program?[/QUOTE]

It's just my own program. Just created algorithm according with trial factoring section on [url]http://www.mersenne.org/various/math.php[/url]

Nothing special.

Lorenzo 2017-01-23 16:14

[QUOTE=axn;451437]633825300114114700748355807449 is prime, but does not divide any mersenne numbers.

Your factor finding algorithm has a bug.[/QUOTE]

Ok! Thank you.

Possible somewhere i'm wrong. I will recheck. :bangheadonwall:

Ohhhh. Sorry! Sorry! Sorry!

Found bug in my own program.

Thanks to all!!!

Mark Rose 2017-01-26 00:47

Constant logouts?

I find every other day or so I have to login again. It's kind of annoying :/

retina 2017-01-26 02:40

[QUOTE=Mark Rose;451571]Constant logouts?

I find every other day or so I have to login again. It's kind of annoying :/[/QUOTE]I don't have that trouble with FF3.6. Try upgrading to FF3.6. :truck:

Madpoo 2017-01-26 15:46

[QUOTE=Mark Rose;451571]Constant logouts?

I find every other day or so I have to login again. It's kind of annoying :/[/QUOTE]

Your login info is stored in a cookie with a 7 day expiration.

A few months ago I decided to set my browser to block cookies (I don't remember my thinking on that...blocking 3rd party cookies isn't a bad idea, but first party cookies?)

As a result of course, once a session times out you're logged out. It was driving me nuts for a few hours and I was looking at the server trying to figure out if something was wrong, but no, it was just me.

On a related note, I did consider whether increasing the cookie TTL to more than 7 days would be nice. I'm not sure how the 7 day value was determined, but I just carried it forward when we did the server migration a couple years back. Maybe at least 30 days would be good?

Mark Rose 2017-01-26 15:56

[QUOTE=Madpoo;451601]Your login info is stored in a cookie with a 7 day expiration.

✂ ✂ ✂

On a related note, I did consider whether increasing the cookie TTL to more than 7 days would be nice. I'm not sure how the 7 day value was determined, but I just carried it forward when we did the server migration a couple years back. Maybe at least 30 days would be good?[/QUOTE]

Maybe the expiration time isn't being extended automatically every request? That would explain the bug.

Madpoo 2017-01-28 08:42

[QUOTE=Mark Rose;451604]Maybe the expiration time isn't being extended automatically every request? That would explain the bug.[/QUOTE]

The cookie doesn't renew itself during normal use... it's expiration is fixed from the time it's set, so it should expire after 7 days from when you last had to login.

Before I change anything like that though I'd better check with George and Scott to see if there was a reason for 7 days... my guess is that (if I remember right) there was a prevailing wisdom back in those days that short cookie expirations was a good thing, but over time I think people have just become annoyed by that and accustomed to "set it and forget it".

snme2pm1 2017-02-01 00:04

[QUOTE=Madpoo;451601]On a related note, I did consider whether increasing the cookie TTL to more than 7 days would be nice. I'm not sure how the 7 day value was determined, but I just carried it forward when we did the server migration a couple years back. Maybe at least 30 days would be good?[/QUOTE]

My recollection is that you introduced 7 days, from a former 48 hours.

[QUOTE=Madpoo;391502]Yeah, that was me. It was set to 3 days on the old server and I was recently looking into some cookie session file issues on the new server (they're not being auto cleaned by PHP's garbage collection), and figured it was time to extend that.

Setting it to a longer period should reduce by quite a bit all of those session files the server has to keep track of. I should really look at making PHP store those in SQL...[/QUOTE]


All times are UTC. The time now is 23:13.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.