Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winserver 2016 x64 无法正常使用 zblog #36

Closed
nineaiyu opened this issue Mar 27, 2018 · 9 comments
Closed

winserver 2016 x64 无法正常使用 zblog #36

nineaiyu opened this issue Mar 27, 2018 · 9 comments

Comments

@nineaiyu
Copy link

出现cpu很高,页面打开很慢,建议兼容下新环境

@zsxsoft
Copy link
Contributor

zsxsoft commented Mar 27, 2018

PHP版本多少?MySQL版本多少?是哪个进程CPU高?w3wp.exe还是php-cgi.exe还是mysql.exe?

@nineaiyu
Copy link
Author

使用的是asp,4G4cpu 的,系统是winserver2016 , w3wp.exe CPU超过30% ,页面打开特别慢,差不多要1-2分钟。

@zsxsoft
Copy link
Contributor

zsxsoft commented Mar 28, 2018

哦,ASP啊,我看错仓库了
Access数据库还是SQL Server,数据量多大?

@nineaiyu
Copy link
Author

就是刚安装的,用的access数据库

@nineaiyu
Copy link
Author

刚进去安装界面,就发现页面响应很慢,然后进服务器看到cpu使用率很高,在30%左右

@zsxsoft
Copy link
Contributor

zsxsoft commented Mar 28, 2018

其他ASP程序正常吗?

@nineaiyu
Copy link
Author

其他正常,你可以测试下,就这个程序不正常

@zsxsoft
Copy link
Contributor

zsxsoft commented Apr 10, 2018

已了解原因,你到zb_users/c_option.asp里,找到以下代码(在最后)

For MsgCount=1 To 350
    Call Execute("Dim ZC_MSG" & Right("000"&MsgCount,3))
Next

改为

Dim MsgCount
Dim MsgString
MsgString = ""
For MsgCount=1 To 350
	MsgString = MsgString & vbCrLf & "Dim ZC_MSG" & Right("000"&MsgCount,3)
Next
Call Execute(MsgString)

@zsxsoft
Copy link
Contributor

zsxsoft commented Apr 10, 2018

或者你可以关闭Windows Defender

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants