YAFLogo

limion
  • limion
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
hello,

I just installed the forum and it is extremely slow (meaning it can take up to a minute to load a page).

the iis settings seem ok and the server isn't having any problems.

any ideas as to how this is possible?

Sponsor
herman_herman
15 years ago
Something is wrong with your SMTP settings/configuration.Check Mail.config and make sure everything is ok.

EventLog in Admin section can also help.

limion
  • limion
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
strange, I can't seem to find any mail.config file.

where should it be located?

I do see this error occuring in the event viewer:

Event Type: Information

Event Source: ASP.NET 2.0.50727.0

Event Category: Web Event

Event ID: 1316

Date: 7/13/2009

Time: 11:38:42 AM

User: N/A

Computer: WWW2GENT

Description:

Event code: 4009

Event message: Viewstate verification failed. Reason: The viewstate supplied failed integrity check.

Event time: 7/13/2009 11:38:42 AM

Event time (UTC): 7/13/2009 9:38:42 AM

Event ID: 8dbfd7b14aed410aaeba20a3f6ac87e6

Event sequence: 23

Event occurrence: 2

Event detail code: 50203

Application information:

Application domain: /LM/W3SVC/977962674/Root-2-128919488737968750

Trust level: Full

Application Virtual Path: /

Application Path: L:\inetpub\wwwroot\gentsefeesten_forum\

Machine name: WWW2GENT

Process information:

Process ID: 7112

Process name: w3wp.exe

Account name: WWW2GENT\IWAM_WWW2GENT

Request information:

http://forum.gentsefeesten.be/alt.aspx?g=posts&m=430 

Request path: /alt.aspx

User host address: 91.121.104.89

User:

Is authenticated: False

Authentication Type:

Thread account name: WWW2GENT\IWAM_WWW2GENT

ViewStateException information:

Exception message: Invalid viewstate.

Client IP: 91.121.104.89

Port: 54046

User-Agent: Opera/7.0 (Windows 2000; U) [en]

PersistedState: WAYTOOLONGTOPOST

http://forum.gentsefeesten.be/alt.aspx?g=posts&m=430 

Path: /alt.aspx

Custom event details:

http://go.microsoft.com/fwlink/events.asp .

herman_herman
15 years ago
It is located in the root of your forum installation.

As i am checking your forum now everything is OK except its slow response.I have had same problem before and it was related to SMTP settings.

Also as error says make sure you NFS is working and is started.

To verify Server for NFS startup status:

1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

2. Type net start.

3. Verify that Server for NFS appears in the list of results.

To restart Server for NFS:

1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

2. Type net start nfssvc.

Hope this helps

limion
  • limion
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
yes I see it in the new version. I'm going install the newest version of the forum (1.9.3) and hopefully that will do the trick.
dzenb
  • dzenb
  • 58.4% (Neutral)
  • YAF Forumling
15 years ago
Performance of YAF, on same level like phpBB, sometiomes faster. Performance depend from 3 factors. Speed of internet connection. Speed of MsSQL and IIS.

May be SMTP/POP configuration. But it coild be good to know what enviroment do you have. I can help with advise about servers configuration.If it is dedicated server of course.

Good luck !

Dataman
  • Dataman
  • 51.8% (Neutral)
  • YAF Forumling
15 years ago
Hi i'm working on the same problem as limion...he's my collegue

we don't have the nfssvc installed on the server, so we are not able to start it.

I'll gave you the server configuration:

It's a dedicated windows 2003 server SP1 with IIS 6.0. The database is on another server and that's also a windows 2003 with sql 2002.

dzenb
  • dzenb
  • 58.4% (Neutral)
  • YAF Forumling
15 years ago
Sorry for this suggestion,

Before AYF performance, you could try to investigate performance of your sites.

80% of all performance issues is communication between servers

1) Run trace on ASP pages

2) Run counters on servers related to TCP/IP

3) Run profiler on SQL.

... I think that you better then me know how to check performance on servers.

ETC...

Good luck

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
15 years ago
How much memory is on your 2003 server? What are your IIS Application settings for the application yaf is running in? Do you mean you are running SQL 2000? (Since there is no 2002.)
Dataman
  • Dataman
  • 51.8% (Neutral)
  • YAF Forumling
15 years ago
Yes, indeed it is sql server 2000.

It's a server running on intel xeon quad cpu 3,40 ghz with 3,5 gb ram. There are a lot of applications on this server published by IIS and they are running good. So don't think it's a performance issue of the server.

But meanwhile i worked out the problem. I copied files from a good working forum on one of our websites (jeugd.gent.be) and i adapted the alt.aspx and the webconfig. And it works fine now. So it seems that the way those files where built on the other server was causing the problem. They were a lot of references to files that were located on other servers. Like css-files and images....

Now I have another problem. I work with a database of last year and i don't have the admin password because i'm new in this job. So i want to create another admin user (or can i decode the password of the present admin user?)

Lots of thanks to you guys,

the slow forum is still online, if you are interested to take a view: forum.gentsefeesten.be.

I'm still working on the styling of the good working forum.

Dataman
  • Dataman
  • 51.8% (Neutral)
  • YAF Forumling
15 years ago
ok i already found a lossution for the admin, i made myself admin by adapting the DB