FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Registering new users is very slow  () 1 Vote
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Registering new users is very slow [message #6565] Thu, 17 October 2002 02:12 Go to next message
eskimo is currently offline  eskimo   United States
Messages: 15
Registered: October 2002
Karma: 0
Junior Member
I've got FUDforum v2.3.2 installed on FreeBSD v4.7-RELEASE with Apache v1.3.17, mod_php v4.2.3, and mySQL server v3.23.52 .. The server is 1400MHz with 512mb RAM, and its got plenty of free resources ..

Anyhow, user registration takes an abnormally long time (45-60 seconds), even when connecting to the forum over my local network .. Oddly, posting new topics goes very quickly, as does the rest of the website ..

I don't have any email activation enabled, so I know the user registration isn't stalling on that .. I don't have any idea where to start troubleshooting this .. Any ideas?

If it matters, I had a similar problem with phpBB2, but I thought the problem was because of something in that software .. I switched to FUDforum because of that and several other things I don't like about phpBB2, but now I'm having the same problem with FUD .. Sad
Re: Registering new users is very slow [message #6566 is a reply to message #6565] Thu, 17 October 2002 02:28 Go to previous messageGo to next message
eskimo is currently offline  eskimo   United States
Messages: 15
Registered: October 2002
Karma: 0
Junior Member
Here is the script I use to start mySQL .. Maybe it is related to the problem .. I don't know ..

#!/bin/sh

case "$1" in
start)
if [ -x /usr/local/bin/safe_mysqld ]; then
/usr/local/bin/safe_mysqld --user=mysql > /dev/null &
echo -n ' mysqld'
fi
;;
stop)
/usr/bin/killall mysqld > /dev/null 2>&1 && echo -n ' mysqld'
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac
Re: Registering new users is very slow [message #6567 is a reply to message #6565] Thu, 17 October 2002 03:01 Go to previous messageGo to next message
eskimo is currently offline  eskimo   United States
Messages: 15
Registered: October 2002
Karma: 0
Junior Member
I copied my-medium.cnf to /etc/my.cnf and chowned it to mysql: (the mysqld starts with --user=mysql) ..

.. then restart the mysql server and no luck .. Still at least 30 seconds to register a new user, even over local network .. Sad
Re: Registering new users is very slow [message #6568 is a reply to message #6567] Thu, 17 October 2002 04:03 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I don't think MySQL code in registration page is the problem, otherwise posting would be slow as well. I believe the problem lies in your mail server. Even when email confirmation is disabled FUDforum will send a welcome email to the user. This process is most likely the culprit, to test this theory open register.php.t and comment out lines 386-391.
These lines contain email sending code ( send_email() ).

Once you make that change, rebuild the theme and then try to register.


FUDforum Core Developer
Re: Registering new users is very slow [message #6569 is a reply to message #6568] Thu, 17 October 2002 04:22 Go to previous messageGo to next message
eskimo is currently offline  eskimo   United States
Messages: 15
Registered: October 2002
Karma: 0
Junior Member
prottoss wrote on Thu, 17 October 2002 00:03

I don't think MySQL code in registration page is the problem, otherwise posting would be slow as well. I believe the problem lies in your mail server. Even when email confirmation is disabled FUDforum will send a welcome email to the user. This process is most likely the culprit, to test this theory open register.php.t and comment out lines 386-391.
These lines contain email sending code ( send_email() ).

Once you make that change, rebuild the theme and then try to register.


Thanks prottoss,
Your theory might be correct (I'm testing it now) .. In fact, I don't even HAVE mail server running on that machine right now .. Is this going to cause problems elsewhere in FUD as well? Anything else I need to start commenting out?

Is there no way to just tell FUD that you're not running a mail server, so completely disable all email-related features?
Re: Registering new users is very slow [message #6570 is a reply to message #6565] Thu, 17 October 2002 04:28 Go to previous messageGo to next message
eskimo is currently offline  eskimo   United States
Messages: 15
Registered: October 2002
Karma: 0
Junior Member
prottoss,
Your theory was exactly correct .. Commenting out those lines did the trick ..

So is there anything else I need to comment out in order to avoid more problems caused by not having a mail server? I might not get a chance to set one up until Christmas .. Damn school gets in the way of everything .. ;/
Re: Registering new users is very slow [message #6584 is a reply to message #6570] Thu, 17 October 2002 21:26 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
There is 1 more thing you need to do, but it is very easy.
On the admin control panel turn off the 'Allow Email' option.


FUDforum Core Developer
Re: Registering new users is very slow [message #6600 is a reply to message #6565] Fri, 18 October 2002 02:55 Go to previous message
eskimo is currently offline  eskimo   United States
Messages: 15
Registered: October 2002
Karma: 0
Junior Member
Thanks, just did that .. Thanks again for all the help .. FUDforum rocks .. ;p
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Will not show Category
Next Topic: Unreliable e-mail after upgrade to 2.3.2
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Feb 17 17:57:19 GMT 2025

Total time taken to generate the page: 0.06943 seconds