无法登录网站 [英] unable to login to website

查看:64
本文介绍了无法登录网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,今天我们无法登录该网站.但是,如果重新启动数据库托管服务器,则它可以正常工作.任何人都可以解释一下它是如何发生的以及为什么它无法登录.请问为什么?它没有用.
我们只是认为某些黑客试图入侵我们的服务器.这可能是原因之一
我们的网站是使用c#在ASP.NET中开发的(这并不重要,只是想告诉您)
谢谢
srinivas

hi today we are unable to login to the website.but if we restart the database hosting server.then it is working .can anyone please explain how it is happened and why it is unabled to login.and what may the reasons why it has not worked.
we just thought some hacker has tried to hack our server.is that may be one of the reasons
our website is developed in ASP.NET with c#(it is not important but just wanted to tell)
Thanks
srinivas

推荐答案

可能发生的一件事是与数据库服务器的连接过多.如果在代码中完成连接后未正确关闭连接,则可能会发生这种情况.好吧,它们并没有真正关闭(希望),而是放回到可用连接池中.可以将数据库服务器配置为仅接受一定数量的连接,因此当不回收连接时,将尝试建立新的连接,但是由于服务器已达到限制,该连接将失败.
另一个很难打破的限制是对操作系统中可能存在的句柄的限制.如果发生这种情况,则需要进行一些严重的调试.

希望这能给您一些想法!

问候,

—曼弗雷德(Manfred)
One thing that might have happened is that there were too many connections to the database server. This can happen if connections are not closed properly when you''re done with them in your code. Well, they''re not really closed (hopefully), but rather placed back into the pool of available connections. A database server can be configured to only accept a certain number of connections, so when your connections are not recycled, new ones are attempted to be made, but will fail as the server has already reached it''s limit.
Another limit that would be harder to break is the limit on handles that can exist in an OS. If this ever happens you have some serious debugging to do.

Hope this gives you some ideas!

Regards,

— Manfred


这篇关于无法登录网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆