Answer the question
In order to leave comments, you need to log in
URL manager yii does not generate CreateUrl, why?
Hello. Something shut up in this question:
There is a rule:
'<view:(about|partners|jobs|history|our_contacts)>'=>'site/page',
<?= CController::createAbsoluteUrl('/site/page', array('view'=>our_contacts)) //генерирует /our_contacts ?>
<?= CController::createAbsoluteUrl('/site/page', array('view'=>test)) // генерирует /test ?>
Answer the question
In order to leave comments, you need to log in
The rule should have looked like this
'<view:(agreement|vendors|partners|help|about|howtobuy)>'=> array('site/page' , 'matchValue'=>true),
<view:(about|partners|jobs|history|our_contacts)>
I don’t see something here test, probably that’s why it doesn’t work
The hard disk "ruins" the work of the computer in principle. It doesn't matter if you distribute torrents or not. If you want the HDD to live for a long time, do not turn on the computer, but keep in mind that modern HDDs are morally aging much faster than physically, even when working 24/7
Coffins, as answered below.
Not much, as also answered below.
With HDD, as with almost any other electronics today - be it with mechanics, be it without - the situation is as follows:
There is also such a picture:
I.e. if he did not die immediately, then most likely he would not die for quite some time; but as you "age" the likelihood of death increases. At the same time, a situation often arises when a screw dies, on which there was almost no load, and a file dump with torrents, spinning 24/7, is more alive than all the living.
By the way, if the PC is not turned off and the disk is not allowed to "sleep", it (ceteris paribus) will live longer (statistically), due to the minimization of start-stop cycles.
For overnight reading:
https://www.backblaze.com/blog/how-long-do-disk-dr...
storagemojo.com/2007/02/19/googles-disk-failure-ex...
ruins the disk overload and sudden shutdown. When at the moment (x) the head slides over the surface making a scratch. And then micro dust scratches more and more over time, until there are too many troubles
Loads decently, consumes resources. The head goes back and forth, fragmentarily gives files. With sequential recoil, the load would be less. Well, if there are a lot of small files, then this is in any case bad, if they are large, then it’s not so scary.
By the way, there is no point in guessing, there is SMART info, look at it and that's it. If the screw is normal, then the indicators will be good, almost unchanged. If not, you will see for yourself. If the screw is potentially faulty, then its life will be shortened. There are screws that have been working for 20 years, well, they will work for 15, so it's okay.
Experience has shown that the resource, like any mechanism with moving and rotating parts, is actively consumed. I had an external USB HDD connected to a router with running torrents, it worked around the clock, a little more than six months was enough.
In 24/7 systems, hard drives are consumables. Buy another HDD, store your data on it, and distribute the torrent from another.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question