question_id int64 1 1.16M | title stringlengths 10 191 | question_body stringlengths 6 2k | answer_body stringlengths 0 2.5k | tags stringclasses 73
values | question_score int64 -15 1.65k | answer_score int64 0 2.91k | view_count int64 4 1.24M | creation_date stringdate 2008-08-01 18:45:00 2025-06-19 04:44:02 | category stringclasses 12
values | source_site stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|
184,124 | Backup on a remote server | We have just solved the problem of stolen server by hiding an external backup unit in a different room of our office. Now the problem is fire and all the other possilble disaster that can happen. We used to do an FTP upload of a password portected archive to an oversea server but the size of the backup is increased too... | How much of your database changes on a daily basis? We backup MS-SQL databases on 35 sites overnight via ADSL using BackupPC, which uses rsync to copy only the file differences. The way we do the backups is as follows: 1) At 9pm, a scheduled script on the Windows server dumps a copy of the database to a backup file. Da... | 2 | 1 | 164 | 2010-09-23T21:17:51.970 | hadoop_errors | serverfault.com | |
37,411 | What is the point where multitreaded programming becomes slower than the problem? | I currently try to design an engine at the core level. However, I cannot decide if input thread should be mixed with a rendering thread or any other thread. Would making it an extra thread with all the locks it will require be slower? If it's same or faster, would at least be marginally faster? [Consider the above only... | There are a couple questions you need to address here: How much work does the input thread need to do? Are there a lot of input-rendering iterations? If there are tons of iterations and the input process takes a long time, then pipelining the tasks as two separate threads may speed-up your application. If there isn't a... | -1 | 2 | 362 | 2011-01-17T10:23:38.183 | api_errors | softwareengineering.stackexchange.com | |
65,630 | MyISAM : Should I be concerned by these warnings? | I restored some tables from recent Databases backups. Because Im supporting a legacy system that only uses MyISAM tables in their DBs, for backing up I used a little script that pretty much copies all the database fils (the folders with the *.frm *.MYD and *.MYI). At first everything seemed ok, I could see and query ev... | Yes, you should be worried, but you can improve your backup process with a few changes. ANALYSIS OF MESSAGES [CODE] MyISAM has a header that contains the number of open file handles on the table. If you make a copy of the table with a nonzero value for the number of open file handles, copying it to another MySQL instan... | 3 | 2 | 1,505 | 2014-05-21T22:14:23.087 | database_errors | dba.stackexchange.com | |
269,083 | Can't set log_bin_trust_function_creators=1 on machine startup - MySQL 8.0 | I'm trying to put the [CODE] parameter into the [CODE] configuration file to set the variable correctly on startup on a machine with Ubuntu 20.04 LTS. But every time I save the file with this line written in the config file, when I try to access the db I can't log in and iIhave this error output message: [CODE] When I ... | Put it under [CODE] , there it should be found and set [CODE] | 5 | 8 | 8,616 | 2020-06-13T12:07:39.693 | database_errors | dba.stackexchange.com | |
225,825 | How to connect UDL file to a Msaccess DB 2007 (Protected with password)? | The UDL file was connected [CODE] successfully. However, when I have protected the DB with a user the connection failed. Can any one show us how to solve this problem ? | I found two ways to solve this problem. First, I have opened the 'UDL' file using a text editor and change it as follows : [CODE] Second, I have viewed the [CODE] file properties (mouse right click) then: At the Provider, tab select the driver. At the All tab, double click on the [CODE] property and write the full name... | 0 | 1 | 575 | 2018-12-26T23:55:19.083 | warehouse_errors | dba.stackexchange.com | |
832,122 | diffrence between virtual machine storage and san storage | What is the difference in performance between VM storage that created on SAN and use storage directly on SAN to read and write data? I mean, we have SQL server that is installed on VM-basis and use a virtual hard drive. The VM is on my SAN. Is it better to address SQL server to read and write data to SAN directly? Has ... | When it comes to performance delta between a VM-based server comparing to a bare-metal one, it’s clear the performance of bare-metal solution should be better, since it has literally fewer abstraction layers thus less penalty impact on I/O operations. It’s true for the case where a simple VHD is used. However, there is... | 6 | 6 | 1,732 | 2017-02-12T13:37:20.847 | database_errors | serverfault.com | |
260,325 | monitoring a network for spammers/webscripts gone bad | I am going to be setting aside some IP space so that someone can use it as co-lo space and dedicated hosting. The network will have its own cisco router and several L2 managed switches that I'll admin so port mirroring and sniffing isn't a problem. I'm looking for some way, outside of snort, to monitor it for outbound ... | My best suggestion to you is to set up some kind of IDS (like Snort ), possibly in combination with a Netflow exporter and cruncher tools like flow-tools and/or JKFlow . This will enable you to analyze activity on your network and detect "unusual" or "suspicious" events. The key here is determining what is "normal" ver... | 2 | 1 | 86 | 2011-04-16T01:15:39.190 | pipeline_ops | serverfault.com | |
177,183 | should I extend or create instance of the class | I have two classes Class A and Class B In Class A, I have three methods that perform the save, delete and select operation based upon the object I pass them. In Class B I perform the logic operations, such as modification to the property of the object before being passed to the methods of Class A. My problem is in Clas... | The examples given by you could have had meaningful class names, this would favor much better responses. Since class A does not have any properties , it is safe to use methods from the instance you already have: [CODE] Another alternative would be to use Dependency injection instead: [CODE] | 2 | 3 | 2,478 | 2012-11-26T10:19:10.757 | api_errors | softwareengineering.stackexchange.com | |
16,692 | Keras: How to normalize dataframe with continuous and categorical data? | I have a dataframe with about 50 columns. The columns are either categorical or continuous data. The continuous data can be between 0.000001-1.00000 or they can be between 500,000-5,000,000. The categorical data is usually a name, for example a store name. How can I normalize this data so that I can feed it into a dens... | Yes it does, you're doing well! In most cases, categorical features(columns) should be one-hot encoded. However, continuous features might be a little complicated. There are two common ways to preprocess continuous feature: scaling features to range [0, 1] (as you have done) removing the mean and scaling to unit varian... | 6 | 6 | 6,661 | 2017-02-01T23:49:46.850 | api_errors | datascience.stackexchange.com | |
128,329 | How do you host multiple public facing websites on a VPS? | We host about 30 websites using typical shared hosting plans using ASP.NET and SQL 2000/2005/2008. I am now wondering about hosting all of these websites using our own virtual private server. This is clearly cheaper but comes with a lot of questions I need answers to: Is the risk of having to keep this VPS server up an... | Funny you should ask this because I just got finished setting this up myself this week. The reason I did this is because my shared host got sold and pretty much crapped out. Virtually no technical support, just "we're having problems, no ETA" has been going on for weeks. I am a software developer and not a network engi... | 3 | 4 | 2,279 | 2010-04-01T03:00:01.000 | infrastructure | serverfault.com | |
164,835 | Which is faster, SUM(CASE) or CTE PIVOT? | There are two types of ways to perform a [CODE] . Before SQL Server 2005, when [CODE] was introduced, most people did this: [CODE] Later, when 2005 introduced [CODE] it became this: [CODE] Across SQL Server 2005, 2008 R2, 2012 and 2014 (the versions of SQL Server I've worked with that implement [CODE] ), in my experien... | Are there examples where [CODE] is slower? This is unlikely in simple cases . As Itzik Ben-Gan notes in his SQL Server Pro article, Pivoting Data when looking at the plan for a [CODE] query (emphasis added): Figure 3 shows the plan for the [CODE] query. As you can see, this plan is very similar to that of the standard ... | 10 | 23 | 12,459 | 2017-02-19T16:28:23.863 | database_errors | dba.stackexchange.com | |
707,490 | How to determine which processes have most inodes opened | Here is my problem, visibile in a munin chart: My used/opened inodes are "suddenly" constantly increasing. Is there a way to determine which process is keeping the most currently opened inodes? I used the approach of https://unix.stackexchange.com/questions/117093/find-where-inodes-are-being-used and found and cleaned ... | Count the number of entries in each [CODE] directory. That will give you the number of file descriptors each process has open. While it will take a while to enumerate all processes, missing processes that start or stop while your counting is in progress shouldn't be a problem as you're looking for a long-lived process ... | 4 | 2 | 12,017 | 2015-07-21T21:43:35.957 | infrastructure | serverfault.com | |
974,675 | Connection to server blocked for no reason | I have had a VPS in NL for the past 5-6 years and it's been working great. Now one day I suddenly can't access/ping/anything the VPS from my home connection (tried different computers) The confusing part is that accessing the server works great when I go directly to the sites I have hosted on it (because they are behin... | Start a packet capture on the client and the server and test everything. All ISPs available, fixed line and mobile, work and home. Use a VPN service to come in from a different provider. Determine routes to the instance From your client with traceroute From a different ISP by using a looking glass server Review all fir... | -1 | 2 | 263 | 2019-07-10T12:13:25.047 | infrastructure | serverfault.com | |
969,656 | Change WordPress root directory in nginx | I have a website that address is [CODE] and also a WordPress that is [CODE] . I would change the WordPress root directory in the nginx. here is my config: [CODE] I getting the below error when I open [CODE] 404 Not Found nginx/1.14.0 (Ubuntu) | try this and it will fix your problem [CODE] | -1 | 1 | 1,976 | 2019-05-31T14:12:42.423 | infrastructure | serverfault.com | |
120,352 | how each tree in random forest structured/built? | I'm new to machine learning and I want to use random forest for the problem I have. What I have done so far is I did the 80/20 split of the original data set. I need to understand what will happen next when building the random forest model. I understand that the next step is taking a random sample (with replacement) fr... | Great questions! I'll do my best to answer them: Once you have selected [CODE] as the root and [CODE] as the candidates for the first split , you need to determine whether [CODE] should be the left or right node . To make this decision, you will split the data based on the values of [CODE] . Any data points with a [COD... | 1 | 0 | 38 | 2023-03-20T01:24:43.420 | data_quality | datascience.stackexchange.com | |
314,521 | SQL Server 2005 Configuration manager services list empty | I have just installed SQL Server 2005 on a Windows 7 Home Edition system. I am planning to use the server from a .NET Application. Now I want to start the local database engine service. I read here and found out that SQL Server Configuration manager can canfigure database engines. The problem is that when I open the SQ... | Usually the simplest answer is the best answer: Reinstall. | 0 | 0 | 1,578 | 2011-09-22T19:07:02.437 | database_errors | serverfault.com | |
452,650 | MSTSC Not working, disconnects shortly after connecting | I'm currently having a problem connecting remotely to a server. It is a brand new build Windows 2008 R2, remote users are enabled. I'm trying to connect from a Windows 7 machine. Everytime I remotely connect to the server it will stay connected for a matter of seconds (maybe 3-5) and then disconnect and I get the stand... | See my recent answer to a similar question for instructions on starting the Remote Desktop Services Manager and pointing it to the remote machine. It could be stuck sessions. Failing that, physically visit the machine and check the event log. | 2 | 0 | 199 | 2012-11-27T16:41:44.330 | infrastructure | serverfault.com | |
602,455 | Unable to browse SMB shares on Azure VM | I've setup an Azure VM to do some proof of concept testing for our application. I'm able to RDP into the server, as well as access the SQL instance setup in it via Management Studio from my machine. (Don't worry, its IP restricted to my public IP!) I've setup the appropriate endpoints, but I'm not able to get SMB worki... | Try installing [CODE] to see whats going on at network layer as your ISP may be blocking this, if you can try to access it from another network. | 2 | 1 | 2,752 | 2014-06-06T19:33:20.237 | database_errors | serverfault.com | |
180,179 | Applying (log backup) LSNs to the secondary node of an Availability Group | I have a test instance configured as always-on go down today due to a restart of the primary node and the file-share going down together. I had a bunch of problems in order to get the secondary functioning again during which I had to remove it from the AG and add it again. During this time (the time when it went down t... | You have 2 options : Easy one - since this is test instance and its secondary. Stop the log backup on primary. Remove the db/s from AG. Take a differential backup or full backup if dbs are small. restore then on secondary with norecovery. take an additional log backup on primary. restore the additional log backup taken... | 3 | 0 | 960 | 2017-07-18T22:46:38.633 | database_errors | dba.stackexchange.com | |
488,634 | Red5 install on CentOS build.xml does not exist? | http://nocreativity.com/blog/how-to-install-red5-on-centos-5-the-complete-guide I have followed this tutorial for installing Red5 line by line however I have just got to compiling the Red5 code I get the following error. [CODE] What it is saying is correct, the dir /usr/local/red5 does not contain build.xml however I d... | If you'd like to build red5, grab the source from github and use Maven. Ant has not been supported for several versions now. For build instructions and further details . | 0 | 1 | 3,173 | 2013-03-17T14:53:59.333 | infrastructure | serverfault.com | |
463,330 | SSH: connect with public key avoiding passphrase prompt | [CODE] I have created key pair without passphrase, is it possible to get rid of passphrase prompt while connecting to remote server? I would like to use key connection while using this command: [CODE] So that files transfer continue even if terminal have lost connection. | You can remove (or change) the passphrase using the [CODE] option to [CODE] . For example: [CODE] Press Enter at the new passphrase prompt to remove the passphrase. | 0 | 2 | 1,464 | 2013-01-05T22:21:43.373 | infrastructure | serverfault.com | |
149,428 | More RAM vs. more servers | I was recently asked "Do you know when to decide between going for more RAM or more servers?" (in the context of scaling data mining applications). I had no idea, so what are some ways to decide? I have very little knowledge of architecture and scaling (my understanding of computer memory and what a server does is limi... | "Do you know when to decide between going for more RAM or more servers?" (in the context of scaling data mining applications). The answer is as soon as you give me the metrics for the server in question, I'll tell you which (or if its worthwhile at all to add either). This type of tuning isn't voodoo (unles you are usi... | 9 | 8 | 1,111 | 2010-06-08T22:15:21.763 | infrastructure | serverfault.com | |
286,956 | Postgres index scan on large table taking a long time | I have a large table (~500M records, 85GB in size) on a PostgreSQL 10.10 database (AWS RDS instance). The records are created by a bunch of game simulations which insert "events" whenever they happen in the simulation. Here is a sample record: runnum time event_id event_type event_flag event_json area_id 154052 0 35353... | Index-only scans don't work on expressions in expressional indexes, the planner isn't smart enough. It thinks it will need the root column "event_json" to be in the index to use an index-only scan. If you want the index only scan on that table as it is, you would have to include the entire jsonb column in the index. Ba... | 0 | 2 | 1,315 | 2021-03-13T16:10:29.767 | database_errors | dba.stackexchange.com | |
627,693 | Bridging multiple VLANs in linux | I'd like to clarify some issues I have with bridging tagged traffic on Linux machine. I have a 2.6.20 (802.1q, bridging, ebtables are enabled) kernel and a device with two net interfaces (eth0 and eth1). If I create a bridge br0 and add eth0.10 and eth1.10, assign an IP to br0, then tagged traffic go through. If I crea... | Of course, bridge would forward any VLAN anyway so no need for multiple VLAN bridges :-) So, I have a br0 with interfaces eth0 and eth1 that has no IP set and is used to forward any traffic. To access the unit using a management VLAN 200, I create a br0.200 and set its IP. So simple :-) | 2 | 2 | 6,619 | 2014-09-10T23:01:08.340 | infrastructure | serverfault.com | |
1,145,036 | What kind of certificate (signed by public authority) is needed for mTLS? | I have nginx setup with mTLS with manually created CA certificate in virtual host. For SSL we use Let's encrypt. [CODE] I am able to connect to this server via curl with [CODE] parameters. Everything works. Problem is because we should use (audit!) cert which is signed by verified authority. What kind of certificate do... | The options depend on what clients you want to authenticate with the client certificate: If this is about having additional protection for your site with a single user (i.e. yourself) just use a self-signed certificate which you configure as trusted in nginx If you want to distinguish between different employees in you... | 0 | 1 | 126 | 2023-10-03T18:00:29.997 | infrastructure | serverfault.com | |
1,114,164 | CRON not sending output to email, but writing output /var/log/cron | I have a Rocky 8.5 server. Initial settings in Cron as follows (same as our other servers, which work fine forwarding cron output emails) [CODE] Which works fine, and writes to the log. But I want it to send an email instead with output. If I get the command to call sendmail direct it works fine also, implying it can e... | Fixed by simply restarting cron with [CODE] Not sure what the underlying issue was that led to it going astray. Possibly restarting the server with a broken email setup which was later fixed, but cron needed a restart after that was fixed maybe ? | 4 | 3 | 892 | 2022-10-27T15:48:54.923 | infrastructure | serverfault.com | |
79,369 | Version control of application data | Put very simply, my company's product is a webapp with a database backend. We have a stage environment and a production environment for each of roughly 100 clients. There is a separate database for each environment. The database contents come from a number of CSV files that are created and maintained by our (non-techni... | Wow that sounds like a complicated mess. I have worked with these types of systems before and having clients on different versions really complicates things. I highly recommend using the branch method. You need to treat these csv files as code since in practice they are. They should be tested and promoted just like you... | 5 | 4 | 354 | 2011-05-26T13:20:23.620 | api_errors | softwareengineering.stackexchange.com | |
110,500 | Database or website of kernel config files? | I've experienced some kernel panic after trying to compile gentoo kernel for a Sun UltraSPARC T5120 Server. The kernel panic came from a missing support for the SAS disk controller in the menu config. I've wasted so much time because I had no clue about the hardware I was using. I know that the kernel config depends on... | Not really. There might be something out run by someone, but I don't know of any such sites off the top of my head. If you're running on Sun hardware, just look up the system specs to ID the SAS controller in the box, and then look for that driver in Linux's 'menuconfig' under 'Device Drivers' --> 'SCSI device support'... | 0 | 1 | 245 | 2010-02-08T01:23:16.483 | infrastructure | serverfault.com | |
134,947 | Linux/Unix MTA with the smartest queue? | I am looking for an MTA that will allow me (a script, really) to proactively manage its send queue in response to status codes returned by the remote servers I am delivering to. Basically, for each mail sent I would like to be able to react to the SMTP reply code returned by the remote server, ex. '250 OK', or to any e... | [CODE] is the closest you will get to the "smartest queue" you are looking for. it is already split nicely and very manageable. You may want to re-think your script to monitor files in your queue folders [CODE] and then have messages moved around with [CODE] command? | 2 | 1 | 300 | 2010-04-22T16:29:31.033 | api_errors | serverfault.com | |
701,218 | postfix not respecting aliases | I have a small server that is suposed configured to use my gmail account to send emails about the readings the borad takes I can send emails all right but I have noticed something strange - I specified in my /etc/aliases that all users should be routed to the same email address /etc/aliases: [CODE] I get all the root m... | Each time you have modified [CODE] you have to launch [CODE] command. | -3 | 2 | 171 | 2015-06-24T08:47:24.467 | infrastructure | serverfault.com | |
139,938 | Solution for when your website's emails goes into yahoo or gmail spam folder | Possible Duplicate: Dedicated Server emails ending up in Junk It turned out that the previous person owning this ip address that I currently have for my website had spammed a lot! so Yahoo and Gmail think that my emails are spams. One good solution is to use a good smtp server (Like gmail smtp server), do you know any ... | If you want to manage it in-house, get a good server, Implement Postfix and implement suggestions from this Email Server Test . You may also want to sign up with Feedback programs with major service providers including Yahoo!, MSN, etc. If you want to outsource, consider a SMTP Relay service . | 0 | 0 | 754 | 2010-05-09T01:09:14.347 | data_quality | serverfault.com | |
354,330 | Updating Client and Domain password domain and vpn | Win server 2003 R2 and Windows 7 Pro on VPN. Client computer will never been in domain without VPN. When I press ctrl+alt+del, and enter the new password i get the error: Unable to update password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain. I can... | Part of most complexity schema's is that you cannot use the same password you have used since X, and X amount of last passwords. Have you checked what the complexity requirements are for this server? From memory I think that this is the last 12 passwords cannot be used. But I may be wrong. | 1 | 0 | 283 | 2012-01-27T18:26:46.293 | infrastructure | serverfault.com | |
226,118 | mysql, performance issue with FOR UPDATE query | I have a query like this: [CODE] This is happening up to 500 times multithreaded within a second, so quite fast and it's overloading my database server sometimes. I think it's got something to do with an internal state of mysql, usually it's handled quickly but sometimes it just builds up and up. Server is mysql 5.5. (... | My Mantra: "Don't queue it, just do it." Although I don't fully understand your design, I suspect that the problems would decrease if you simply processed the data as it comes in. A Rule of Thumb: If an item can be processed in less time than it takes to enqueue and dequeue it, then the Queue is wasting time. To better... | 0 | 1 | 429 | 2019-01-02T00:24:04.303 | database_errors | dba.stackexchange.com | |
69,059 | Return a default value in group by if selected column is null | I am trying to run a group by statement which works fine however, one of the "group" is null. How do I return "Unknown" for that row? For example: [CODE] etc. First line I'd like to return as "Unknown" in the query. | You should be able to use [CODE] : The COALESCE function returns the first of its arguments that is not null. This is not specific to [CODE] , although you'll certainly need to use it both in your [CODE] column expression and in the [CODE] expression (as usual when using [CODE] ). | 5 | 6 | 6,986 | 2014-06-25T22:38:41.333 | warehouse_errors | dba.stackexchange.com | |
758,599 | nginx config with php and alias broken after update | I have configured access to a local directory through an nginx alias + php support: [CODE] points to [CODE] . Everything was working fine until I did a normal apt-get update && apt-get upgrade on the server (running on debian 8). Now when I open the site I only get "No input file specified.". Here is what nginx says: [... | The simple answer is that the error message is consistent with your configuration as you have it now - so I have no idea how it worked before the update. The [CODE] line is generating a value of [CODE] because: [CODE] If you do not use path info (that's the URI following the [CODE] ) you might simplify the PHP part of ... | 3 | 2 | 521 | 2016-02-20T12:38:08.233 | infrastructure | serverfault.com | |
988,113 | Nginx proxy_pass long directive | i want to do proxy_pass from [CODE] to [CODE] and also from [CODE] to [CODE] the different with that 2 links are http method that use to access, later we will limit access with limit_except, but now i want to proxy_pass the request first. i've made a configuration like this [CODE] but i still don't get my server proxyi... | If that is a regular expression, you are using the wrong syntax for the [CODE] directive. See this document for details. You only need to give [CODE] a URI part, if the URI is changed before passing upstream. See this document for details. For example: [CODE] | 3 | 0 | 451 | 2019-10-15T16:16:07.767 | infrastructure | serverfault.com | |
65,006 | Multi-label classification based on single-label dataset | I'm looking for a solution to detect different moods/styles expressed by an image. Unfortunately, there is no multi-labeled dataset for this task. The scenario of defining a multi-label classification model based on single labeled data doesn't seem too absurd to me but still I couldn't find any publications or other so... | I would train it using the loss appropriate for multi-label (sigmoid activation/binary cross-entropy loss instead of softmax activation/categorial cross-entropy loss). The model will give you probabilities per label, so it's up to you to decide how to interpret them in your application. Having said that, some multi-lab... | 5 | 3 | 1,271 | 2019-12-17T15:01:23.757 | data_quality | datascience.stackexchange.com | |
324,555 | Movable object design in Haskell | Suppose I have an object which has a point denoting it's location and shape. [CODE] where a shape might be like [CODE] Suppose I have a function which can draw objects. [CODE] So far here are no problems. Now, suppose I want objects to move. So objects should have a velocity. [CODE] The problem is that I need a velocit... | You could declare a typeclass for objects that know their location and shape, and create an instance for [CODE] . Then your [CODE] would accept any instance of that typeclass, but wouldn't be able to find out about any other fields in [CODE] . | 6 | 2 | 580 | 2016-07-11T13:39:14.377 | api_errors | softwareengineering.stackexchange.com | |
637,129 | Postgresql 9.3 Log Shipping on a Hot Standby | My setup I've just set up streaming replication in postgres for the first time (9.3.5), and while the streaming is working as I expect, I'm struggling to get my standby to run the archive_command so I can store all of the log files. Master postgres.conf: [CODE] Standby postgres.conf: [CODE] Standby recovery.conf: [CODE... | I also just ran into this issue. The key here is actually the [CODE] in the "recovery.conf" on the standby. The standby will run the [CODE] command when it is done processing a WAL segment from the primary, so at that point you know you can backup that WAL segment and all prior segments. In my "recovery.conf" I have: [... | 3 | 3 | 2,374 | 2014-10-15T10:49:32.267 | database_errors | serverfault.com | |
283,615 | Can I connect a SATA III drive to a SAS controller and get the SATA III performance? | Can I connect a SATA III drive to a SAS controller and get the SATA III performance? Will I see slower performance from the SATA III drive by using a SAS controller than a SATA III controller? | If the SAS controller supports sata3 you can, If not it will go back to sata2. If the disk is not a SSD or in a raid you will never get sata3 or sata2 max speeds Name on your sas controller ? | 1 | 5 | 3,597 | 2011-06-23T21:08:03.900 | infrastructure | serverfault.com | |
411,542 | Circular Directory Error and smaller than usual hard drives | The OS is CentOS 6 with Parallels Plesk Panel 10 (64-bit). Our df -h looks like this: [CODE] Until I deleted a massive file, [CODE] was at 100%. I've also rebooted the server. There appears to be two problems: The Drive sizes look very small (4G) where it should be substantially larger (500G - 1TB) Upon going a [CODE] ... | At the very least, I'd start by getting off that system immediately and forcing a FULL fsck of all the filesystems. At the point, you can assess the damage after that point. | 1 | 2 | 2,235 | 2012-07-26T18:16:20.927 | api_errors | serverfault.com | |
1,126,971 | Why do I get this error in my postfix/dovecot set up: NOQUEUE: reject: RCPT from? | Here is my main.cf: [CODE] and here is my master.cf: [CODE] Now I have tried it without "smtpd_recipient_restrictions" in main.cf,just in master.cf, but postfix gave an error. I tried it with "smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject" in both files and "smtpd_recipient_restriction... | Thanks for the clue on it being a relay problem. I changed smtpd_relay_restrictions = permit_mynetworks, reject to smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination and it now works. | 0 | 0 | 95 | 2023-03-23T20:36:23.757 | infrastructure | serverfault.com | |
1,116,536 | Postfix Sendonly Multiple Domains - smtp Auth for each domain? | My title pretty much sums it up I have recently setup a sendonly postfix server i used this guide https://www.linuxbabe.com/mail-server/postfix-send-only-multiple-domains-ubuntu#generate-dkim-keypair It works as expected. The purpose of this server is to be used by our hosted websites to send the website mail. My serve... | What i have ended up doing. I setup Cyrus SASL. And created username and passwords in the format of user@domian to try differentiate them. But they are global user and pass and can send from any domain. This solution works in the fact that we now have smtp auth working but I'd still like to find a way to associate the ... | 0 | 0 | 95 | 2022-11-24T17:00:18.617 | infrastructure | serverfault.com | |
955,826 | How to allow an SCP client to change file mod time without being the owner | WinSCP complains at me when it tries to change the file modification time of a file it doesn't own. It says, set times: Operation not permitted . I can remove this error message by unchecking "Preserve timestamp" in WinSCP settings (as described here https://stackoverflow.com/a/32482812/650004 ). But I want to keep thi... | It's how Linux permissions works. No settings in SSH server can override that. In other words your question is about Linux system, not about sshd, SCP, let alone WinSCP. | 1 | 1 | 900 | 2019-02-26T15:28:38.453 | api_errors | serverfault.com | |
36,480 | DB2 Server Table Space Locked | At work we keep receiving the following DataException seemingly at random when one of our processes tries to write/access a table for one of our clients: [CODE] Has anyone encountered this? I'm not the person who primarily does administrative tasks on our databases, but even they seem to be having difficulty finding th... | First I'd say you want to know what tablespace it is. A lot of times I connect to the database and use [CODE] to figure out what is happening. Look at each tablespace and see what value is set for the "State" field on each. You want a "zero" value for the tablespace to be fine. And here is a handy query: [CODE] This ge... | 2 | 1 | 5,370 | 2013-03-11T13:29:28.273 | warehouse_errors | dba.stackexchange.com | |
504,221 | Syncrepl support in Mac OSx 10.8 OpenDirectory | From Ryan Faas's article Apple's OpenDirectory does support overlays but I can't seem to enable the syncprov or accesslog overlays. Adding following block to slapd_macosxserver.conf turns the server in to vegetable. [CODE] What am I missing here? | The OpenDirectory implementation in 10.8 has changed considerably since Leopard. This may no longer be supported. What is the end goal of enabling the syncprov overlay? | 0 | 0 | 164 | 2013-05-01T19:08:16.960 | infrastructure | serverfault.com | |
401,544 | Web application demo mode or Introduction mode | I have a web-app with multiple functionalities and each functionality has multiple workflow/process. For example, Workflow A has Steps A => Step F, Workflow B has Steps A1 => Steps G1 and many more workflows. I hope I am able to explain my requirement. The web-app is written in Angular 6. My task is to create a tutoria... | ... however, since I have multiple workflows with multiple steps, I am assuming that the child state class instances will cause class-explosion for each step. Using the Decorator Pattern to inject the additional popup instruction could help avoiding such class-explosion in implement each and every state separately. In ... | 2 | 1 | 425 | 2019-11-24T12:12:48.250 | api_errors | softwareengineering.stackexchange.com | |
764,322 | The size of Amzon S3 bucket from S3 console? | I wonder if there is some way to get the size of Amazon S3 bucket directly from console https://console.aws.amazon.com/s3/ Clicking properties returns great deal of information, but not the size of the buckets in Bytes... Here is what I get when I hit properties popup... [CODE] I can get the info using s3cmd, but it wo... | This is very easy to do in the new S3 console. Click on the bucket name, and then select the [CODE] tab and then the [CODE] button, as shown here: You get a simple graph showing the size of the bucket over the last few days, up to 2 weeks, and also (if you scroll down a little) a graph showing the number of objects by ... | 3 | 2 | 3,789 | 2016-03-17T10:25:40.530 | infrastructure | serverfault.com | |
26,950 | As a QA manager, how do I show cost saving from my automation | Just want to give an example: We have regression test suite of 1000 TC. Currently it take 10 people to execute it manually in 10 days. After automation of this suite, lets assume we will need 3 people to execute. If we have a major functionality change which affects 500 of my test cases, we will need 7 people to fix sc... | This is a pretty complex one to work through, but you can do it with some data diving as well as well as the information you've given. Time and Labor in your group - assuming you have your automation suite in place, each time it runs, you are running (assuming that the suite runs in under a day) with 3 person-days for ... | 3 | 4 | 1,289 | 2017-04-26T15:55:35.917 | api_errors | sqa.stackexchange.com | |
883,382 | Azure not forwarding port, firewall disabled | Context I have an Azure server running a service on port 8000. This works on localhost:8000. I have Azure rules to forward port 8000: And my firewall is disabled: Question I'm serving HTML files over Node.js. They work locally, and the server reports no errors, but I receive an ERR_EMPTY_RESPONSE in chrome. I have trie... | According to your description, it seems that your service only is listening on [CODE] , so, you only could access the service inside your VM. You could check use following command. [CODE] . Please ensure your service is listening on [CODE] or VM's private IP like [CODE] . Maybe you need modify your service configuratio... | 1 | 2 | 902 | 2017-11-14T14:52:41.727 | infrastructure | serverfault.com | |
197,992 | mysql access denied from localhost | I've a very weird problem on mysql/Aurora 1.14 I have installed on a Linux EC2 instance on AWS. I have an user able to connect remotely to the instance but not locally. [CODE] I'm able to connect with that user from outside [CODE] but when I'm inside the machine [CODE] I've tried several other things (with or without s... | [CODE] deliberately does not include [CODE] . This decision was possibly made to emphasize the difference between the relatively secure local connection versus coming in from the World Wild Web. Or perhaps because it implies a socket instead of TCP/IP. (There is not much performance difference.) So, either Use the IP (... | 1 | 1 | 1,838 | 2018-02-15T10:53:25.230 | database_errors | dba.stackexchange.com | |
73,034 | Using C# need to drop all tables in mySQL database beginning with prefix | I have found this question answered but not specifically for C#. The answer seems to be to execute the following statements tailored to my specific database. However, I can't figure out how to use these statements in C#. I would add that in my program the prefix will be a variable, not a set prefix every time. My schem... | Please note that using the mysql syntax for prepared statements to generate dynamic SQL is an ugly hack and should not be recommended. Using the language/connector commands, as you probably want to do, is usually the best option for maintainability, unless you have an extremely large number of tables to be dropped. On ... | -1 | 0 | 1,116 | 2014-08-03T06:28:20.993 | database_errors | dba.stackexchange.com | |
112,467 | Handling Covariate Shift and Multi-collinearity in same Dataset | The problem is related to Regression problem. I am getting batches of data from a source of experiment which has approx 3k columns. However, I observed that almost 99% of the columns are highly correlated to each other. The dataset looks something like this, where I have to predict the Y-variable based on the numerical... | What happens in validation has a good chance to happen in production. That's why reducing the features to the minimum might not be the best solution, even if it is mathematically valid, because of the distribution problem you've mentioned. I suggest correcting the covariate shift by applying the ratio ri=pi(x)/qi(x) fo... | 1 | 0 | 118 | 2022-07-06T18:07:16.640 | api_errors | datascience.stackexchange.com | |
2,056 | How to do blue-green deployment with PL/SQL code? | Is it possible to do blue-green deployment when your software is mostly a set of PL/SQL packages? I don't really want to duplicate the database, the financial risks in case of any desyncs are too big. I understand that step 1 is to decouple schema changes from package changes, but how to proceed further? Is splitting p... | Yes, it is possible, but it takes a bit of work. I assume that the concern with duplicating the database is 1) time and 2) size/storage, otherwise it seems like it would be trivial to spawn databases for testing against. Based on the fact that you are targeting PL/SQL i'm guessing you are working with Oracle. You will ... | 6 | 3 | 1,943 | 2017-09-18T09:16:16.883 | data_quality | devops.stackexchange.com | |
523,725 | Upgrading CentOS Downtime? | I'd like to update CentOS from 5.8 to 5.9 since I've been advised that there are security issues in my current version. Since it's not a major release, should I expect any downtime? Also, are the automatic backups done by WHM/cPanel sufficient for this in case anything goes wrong? Thanks! | The only downtime for this update will be the time it takes you to reboot. You'll have a new kernel for 5.9, but all other OS packages can be updated via [CODE] with no downtime. | 0 | 2 | 171 | 2013-07-16T14:37:05.427 | database_errors | serverfault.com | |
147,774 | SQL Server 2014 slow insert | I have a very strange slow insert issue, here I am providing the table structure, and the insert statement used. The database is clean, contains no other tables, no indices, no constraints, no triggers. I tested this on two different machines, with high speed SSD drives, 8 cores 3.5 GHz processors. The server can read ... | Looking at physical IO is not a good indication of what work your query is doing. SQL Server does not write changes to disk immediately--it writes to the buffer cache (in memory), then flushes dirty pages to disk during the next checkpoint. Likely, all 1000 inserts will fit into memory, and no writes will happen on the... | 0 | 2 | 2,078 | 2016-08-24T16:21:11.153 | api_errors | dba.stackexchange.com | |
822,441 | Error adding iptables snat or dnat rules in linux | I am using Arch Linux (the 32 bit version) on a Raspberry Pi 3. When I attempt to add any [CODE] or [CODE] rules to [CODE] , it doesn't work - I receive an error [CODE] I don't normally have a problem with iptables. For example, the standard [CODE] , [CODE] and [CODE] have plenty of rules. Also, [CODE] contains a [CODE... | In Arch [CODE] is not loaded by default. This is fixed with: [CODE] | 2 | 2 | 1,990 | 2016-12-23T11:55:02.130 | infrastructure | serverfault.com | |
199,444 | New install Ubuntu 10.10 Server, won't boot. "ls /dev/disk/by-uuid" generates Bus Error | I installed Ubuntu 10.10 Server on a very old computer (bought it in 2002), but it won't boot. It tells me it can't find the root mount volume by it's UUID and also gives me the follwing type of error: Alert! /dev/disk/by-uuid/xxxxxxxx does not exist. Dropping to a shell! After which it gives me a initramfs prompt. I'v... | Solved it. It was the initramfs image, I backed it up, replaced it by running update-initramfs after binding dev, sys and proc to the directories on the hard drive and chrooting into it. Anyway, thanks Khaled and pehrs for your replies. Taking out the broken hard drive sped up the booting process as well. Also, now fro... | 1 | 1 | 6,032 | 2010-11-08T16:16:34.913 | infrastructure | serverfault.com | |
307,135 | Configuring vsftpd | I am trying to configure an FTP server using [CODE] on my CentOS server. I have installed the FTP server using [CODE] and followed: http://www.cyberciti.biz/tips/rhel-fedora-centos-vsftpd-installation.html to configure the server. I have created a user, but when I try to connect via Filezilla, I get: [CODE] Looking the... | [CODE] [CODE] and try again. | 1 | 4 | 10,391 | 2011-09-01T08:47:19.657 | infrastructure | serverfault.com | |
557,909 | Windows Authentication credential prompt | I have a ASP.NET application (Framework 4 Classic Mode) running with Windows Authentication - it is an Intranet. Impersonation is on. Anonymous is off. Authentication works perfectly on every user's PC, bar one. This one user is prompted for credentials, entering them and submitting causes the inputs to clear and it pr... | This kind of failure can be traced down pretty easily Open Event Viewer Select Windows Logs -> Security. In the left pane, select "Filter Current Log..." Check "Authentication Failure" under Keywords and input 4625 as the Event ID. If failure auditing is enabled on the server, this should show you an Audit Failure even... | 1 | 1 | 3,716 | 2013-11-27T21:29:46.653 | api_errors | serverfault.com | |
493,178 | Zabbix agent - high CPU usage | I am monitoring a host with the help of Zabbix and I noticed that Zabbix agent started using quite a lot of CPU cycles: [CODE] There are about 100 items monitored with the agent. They are also monitored on other identical hosts where Zabbix agent does not consume so much of CPU. Agents send collected data to Zabbix pro... | I think that the bottleneck is the disc. Here are my reasons for this: You have a pretty busy web server. Zabbix is slow, I suspect to be reads from the disk (can be from the network too). Run again the strace, and find the file descriptor in Zabbix Then find if the file descriptor is a file or a socket: [CODE] EDIT1 :... | 3 | 0 | 10,237 | 2013-03-28T12:23:04.573 | pipeline_ops | serverfault.com | |
17,987 | How should the bias be initialized and regularized? | I've read a couple of papers about kernel initialization and many papers mention that they use L2 regularization of the kernel (often with $\lambda = 0.0001$). Does anybody do something different than initializing the bias with constant zero and not regularizing it? Kernel initialization papers Mishkin and Matas: All y... | From the Stanford CS231N Notes : Initializing the biases. It is possible and common to initialize the biases to be zero, since the asymmetry breaking is provided by the small random numbers in the weights. For ReLU non-linearities, some people like to use small constant value such as 0.01 for all biases because this en... | 17 | 22 | 19,053 | 2017-03-30T04:40:43.763 | data_quality | datascience.stackexchange.com | |
936,007 | Add an account from a trusted domain to Domain Admins | Our domain is trusting an external domain (not in the same forest) and we need to add a group from the external domain into the Domain Admins group of our domain. I understand that the Domain Admins group is a global group, so we cannot add groups from other domains into it. But I have seen several workarounds on the i... | It is specifically designed to be this difficult. Not only is it contrary to good practices, but it is generally flat out ill-advised. You are essentially turning control of your domain over to another entity whose security, policies, auditing, and procedures are outside of your control and outside. Moreover, your envi... | 5 | 2 | 17,399 | 2018-10-17T17:28:23.320 | data_quality | serverfault.com | |
850,198 | Domain Controller Denying Access in Azure | We recently made some group policy changes, and accidentally added our Admin group to the deny login permissions. Once this was distributed via Group Policy, we cannot login to the server to change it back. If we had on-prem console access to the box, I understand there are a few tools that we could use to reset this p... | Ultimately the answer was to download the VHD file for the domain controller, load it via Hyper-V, and login via console access. I logged in and fixed the group policy issue. Then I re-upload the VHD file (via page upload, not block) back to Azure with a new name. Using CloudXplorer, I broke the lease on the current OS... | 0 | 0 | 63 | 2017-05-15T13:58:31.427 | infrastructure | serverfault.com | |
986,463 | Get more information from apt-get if it reports an "impossible situation" | For example, in https://travis-ci.org/mysql-d/mysql-native/jobs/592298238 : [CODE] [CODE] 's error message is spectacularly unhelpful. Is there a way to make it report more about what exactly it finds "impossible"? E.g. what combinations it's considering and what roadblocks encountering etc. [CODE] , for example, expli... | As per debian - How can I identify the packages with conflicting dependencies? - Unix & Linux Stack Exchange , that'll be: [CODE] In this particular case, it said : [CODE] Which means that conflicting packages [CODE] and [CODE] are installed. Since the resolver didn't consider replacing them, they must be marked as man... | 0 | 1 | 877 | 2019-10-02T06:14:00.417 | database_errors | serverfault.com | |
57,120 | Getting FC11 to run under VMware Server, converted from physical machine | I have a FC11 installation that I have converted to a VMware disk image to run om my VMware Server. I converted it with qemu-img, as the VMware Converter software apparently only converts Linux hosts to VMware Infrastructure servers. The disk image boots fine (grub is loaded and boots the kernel) but it seems like the ... | I booted into rescue mode, did a [CODE] , brought up the network and ran [CODE] which installed a new kernel. The previous kernel, 2.6.29.5-191.fc11.i686.PAE was not working. Now, when rebooting the system, the disk is detected without problems and the system boots up perfctl. Whether this worked because initrd could c... | 2 | 1 | 598 | 2009-08-21T12:37:47.147 | infrastructure | serverfault.com | |
335,213 | How should I troubleshoot a very slow MySQL server droplet? | I'm new to the DBA forum, but not SO, and I've searched for answers on this, and tried what I've found. We have a Rails app that lives on a Digital Ocean droplet, and a bigger and more powerful droplet for the db. Both are shared CPU droplets. I'm trying to diagnose very slow query times on MySQL, that got 2x slower to... | Rate Per Second = RPS Suggestions to consider for your my.cnf [mysqld] section, [CODE] These suggestions should improve response time, when implemented and stop/start instance. There are many more opportunities to improve your configuration to improve speed of processing. Pleaes view profile. | 1 | 0 | 58 | 2024-01-26T03:29:00.377 | database_errors | dba.stackexchange.com | |
1,017,739 | Make reliable and fast server for Node.js chat based application | Good day everyone. We have a serious problem with server, Our dedicated server is not responding with high traffic, server response goes too slow whenever 2500 daily active users. Total users are more than 80000. We have a chat based application for both iOS and Android and API's are written in Node.js and database use... | Very hard to guess without knowing your app architecture and more details. You will have to identify where is the bottleneck, i.e. which part of your app is overloaded. Is it the Web server, Node app, database, storage, something else? Once that is known you will have to optimise that part - perhaps add some caching, i... | 1 | 1 | 42 | 2020-05-19T09:56:10.987 | api_errors | serverfault.com | |
733,177 | How to create a high-availability application server? | I am working with some hardware units which uses mobile Internet to communicate to my application server. Initially, the hardware had a hard-coded IP address (load balancer) in the hardware for communication which was used to route the traffic to my application server; now this creates a single point of failure if the ... | As your question is quite generic and doesn't give any details about the involved software, my answer is short as well: Just use a set of two loadbalancers, which share a 'virtual IP' between them via the use of e.g. vrrp (the "Virtual Router Redundancy Protocol") or pacemaker (there are more options available as well)... | 6 | 8 | 1,598 | 2015-11-02T03:33:56.847 | database_errors | serverfault.com | |
14,625 | Is a process created in Oracle for every SQL statement? | After reading the Oracle docs, it´s still not clear for me if an Oracle process is created for every SQL statement or just for every connection (or not really related to both). Any comment here would be really great. Thanks. | A process is created per connection, which can then execute SQL statements for the duration of the connection. A SQL statement may use more than one Oracle background process (for things like Parallel Query) during its execution, but these aren't forked specifically for the SQL statement. Note that I'm ignoring things ... | 4 | 9 | 175 | 2012-03-08T07:14:23.310 | database_errors | dba.stackexchange.com | |
148,168 | Send notification from HTTP bot (RESTful service or whatever) | I have very simple bot that gathers and parses web pages. It's on a machine in network, behind NAT (so I cannot setup a web server, for example). I don't have MTA set up. The bot should notify me about changes in parsed pages (once in a hour or two, to one recipient). How can this be done? Is there any RESTful email ga... | It's difficult to answer here. What kind of Internet access do you have? Do you have any SMTP access at all? What about HTTP(S)? Directly or through a proxy? VPN? Anything else? Also, which language is your bot written in? On which operating system are you running it? There are lots of ways a program can send a notific... | 2 | 2 | 376 | 2010-06-04T10:55:37.757 | infrastructure | serverfault.com | |
81,654 | Why Mini batch gradient descent is faster than gradient descent? | According to me: Mini Batch Gradient Descent : 1.It takes a specified batch number say 32. 2.Evaluate loss on 32 examples. 3.Update weights. 4.Repeat until every example is complete. 5.Repeat till a specified epoch. Gradient Descent : 1.Evaluate loss for every example. 2.Update loss accordingly. 3.Repeat till a specifi... | It is slower in terms of time necessary to compute one full epoch. BUT it is faster in terms of convergence i.e. how many epochs are necessary to finish training which is what you care about at the end of the day. It is because you take many gradient steps to the optimum in one epoch when using batch/stochastic GD whil... | 0 | 3 | 2,001 | 2020-09-14T05:23:29.517 | data_quality | datascience.stackexchange.com | |
286,250 | Analyze and archive incoming messages to filesystem | Where I work we're trying to create a mailbox where our employees sends messages to it and the mail server processess them. Much like the Support of some companies where you send an email a ticket is automatically opened, but instead we need to save the messages to the filesystem depending upon an identified ID in the ... | I'm not sure exactly what you're asking. A mail filtering tool like [CODE] could be made to do what you're asking, but it would be just as easy to write a small application in your favorite language that would parse an incoming message and execute whatever actions you deemed appropriate. Postfix -- and most other Unix ... | -2 | 2 | 114 | 2011-07-01T18:37:47.287 | hadoop_errors | serverfault.com | |
227,161 | How can I connect to my XEN VMs using VNC? | Does every VM in XEN have a VNC server running for it? If so, how do I connect to this VNC session, this would be VERY helpful for me! I'd like to be able to tunnel a connection to my server via SSH, in a manner, ssh -L localportX:localhost:vncportnumber to i can use my VNC client, and connect to localhost:localportX a... | This would depend on how you're managing your Xen VMs? If you are using libvirt, it should be a simple matter of connecting to the host with virt-manager and opening up the specific VM. The details of opening up the VNC to listen to a port and tunneling the client connection over to it will be handled in the background... | 1 | 2 | 30,446 | 2011-01-26T15:49:51.810 | infrastructure | serverfault.com | |
637,729 | tomcat-webapp not accessible via port after windows-update | we are running 4 Virtual Machines on a MS HyperV Host. On one of the VMs (192.168.50.15) we have multiple Tomcat-Webapps on separate ports - 9010: Jenkins - 9020: Atlassian Jira - 9030: Wiki .. These Apps are all accessible locally from the VM directly in browser (localhost:9010/....) We did our monthly Windows Update ... | finally - after some further trial and error - we uninstalled Symantec Protection Tools from the physical host, and after that all services were accessible again. (deactivation was not enough) thanks for your efforts. | 0 | 0 | 150 | 2014-10-17T07:53:18.143 | database_errors | serverfault.com | |
281,644 | How to reproduce "resource busy and acquire with NOWAIT specified or timeout expired " error on local machine in oracle | I am running oracle database and I am getting error as "resource busy and acquire with NOWAIT specified or timeout expired " and because of this error i am getting some other exceptions. on my local machine I am not getting this "resource busy ..." error. basically I want to reproduce this error on my local machine . i... | Not quite clear what you want, this is a generic example of ORA-00054. Session 1: [CODE] Session 2: [CODE] | 0 | 2 | 169 | 2020-12-16T06:44:39.710 | database_errors | dba.stackexchange.com | |
163,614 | Tomcat virtual host configuration | Background: I have a host configured in my Tomcat's server.xml as: [CODE] Problem: When I type [CODE] into my browser, it works well. But when I type [CODE] it shows a blank page. Workaround I tried: I tried to create another host as: [CODE] Result: It seemed to work okay ( when I typed [CODE] , it would show me regula... | You need a virtual host name alias. [CODE] | 2 | 3 | 900 | 2010-07-23T23:46:15.483 | infrastructure | serverfault.com | |
243,727 | Delete unused indexes from Microsoft Dynamics CRM Application | So I found tons of unused indexes from our CRM application with this query from Pinal: [CODE] I was reading about the CRM application and how it creates it's own indexes and etc. I don't know if this is the right place to ask a question about Microsoft CRM but, is it safe to drop those indexes with 0 seeks, lookups and... | I don't know if this is the right place to ask a question about Microsoft CRM but, is it safe to drop those indexes with 0 seeks, lookups and scans with tons of updates and rows? That will depend on multiple factors only you will know. (Both SQL Server & Microsoft Dynamics CRM related) SQL Server When was the server la... | 4 | 3 | 625 | 2019-07-24T20:07:49.340 | warehouse_errors | dba.stackexchange.com | |
854,199 | Failed creation of IAM Autoscale role when adding autoscale to a ECS task | I am adding some auto scaling setting to a ECS task The idea is I will spawn new service when the length of the message queue increase, otherwise decrease After I put in the definition as defined above, I got the following error message: Failed creation of IAM Autoscale role IAM Autoscale role could not create ecsAutos... | You are choosing to create a new role during service/autoscale configuration. Simply select existing role that you already created in IAM and it wont attempt to use your user's credentials to create a new role. | 1 | 0 | 479 | 2017-06-06T10:39:48.933 | api_errors | serverfault.com | |
538,884 | coldfusion 9 server crashing continously | Recently few days back my coldfusion server 9 started crashing, i checked various log and checked the logs inside the runtime/bin file and found the files named as hs_err_pid11580.log I am not sure what is causing this, any idea [CODE] | An assertion in an exception handler failed, apparently deep within the JVM underlying coldfusion. Either there is a bug in something running on the server, or there is some kind of hardware fault. If patching doesn't fix it (updating both coldfusion and java), and you can't associate the error with a change to the app... | 0 | 1 | 666 | 2013-09-14T05:46:48.370 | infrastructure | serverfault.com | |
291,973 | Duplicated SQL Server Execution Times For Dynamic Query | I'm getting duplicated SQL Server Execution Times from SET STATISTICS IO,TIME ON with dynamic queries. Is this a normal behavior? | You get an output for each statement. The query in [CODE] is one statement that gives you the first output and calling [CODE] is a statement of its own and outputs duration for all the statements in [CODE] . So if you have two statements in [CODE] you get three outputs. [CODE] Output with set statistics time on: [CODE] | 0 | 2 | 142 | 2021-05-21T05:22:35.040 | database_errors | dba.stackexchange.com | |
433,846 | Approach for store multiple relationships POO objects in relational database | I'm developing a system in which a [CODE] object can have multiple [CODE] and [CODE] objects. And for store these objects in a relational DB model I create the following tables: This is a simplified example of the real system. My problem arises when I need to update [CODE] objects because I need to check if the modifie... | Considering that these are one-to-many associations (as confirmed in the comments), it appears that your relational schema could be simplified, getting rid of intermediary association tables. Using a simpler foreign key mapping would mean that the tables for classes B and C could each get the foreign key referring to c... | 0 | 2 | 214 | 2021-11-27T19:56:47.787 | data_quality | softwareengineering.stackexchange.com | |
547,434 | How to abort applying group policy when it is stuck for too long? | I had a problem with a Win2k8 Domain Controller and had to restart it. It restarted with no issues and reached the "PRESS CTRL + DEL TO LOGON" screen. And so I did a usual logon with an administrative domain account and it started to apply group policy. It processed mapped drive and some other stuff before it reach pri... | Microsoft has a loooong page on Troubleshooting Group Policy Using Event Logs . To supplement that I would follow Mark Russinovich's advice on troubleshooting logins in general with Process Monitor and psexec. For problems occurring during boot up (as opposed to login) it's also worth looking into Xbootmgr. | 3 | 1 | 24,376 | 2013-10-21T02:37:24.383 | infrastructure | serverfault.com | |
855,707 | How to write my /etc/host to have MySQL access available from other machines from lan | EDIT: I am trying to Mysql from a remote Host: [CODE] But I have this message : [CODE] I have done this already on my target machine : [CODE] When I do a netstat, I have this : [CODE] It seems my server is listen internally only, and does not listen from outside. Here is is my hosts file : [CODE] Here is my hosts.allow... | The file /etc/hosts and /etc/hosts.allow has nothing to do with which IP MySQL binds to. As you can see here, it binds to 127.0.0.1 (loopback) only. [CODE] You need to edit your /etc/my.cnf and comment out like this: [CODE] That will make it bind to all available IP's. Obviously if you have multiple IP's (internal and ... | 1 | 1 | 4,771 | 2017-06-14T09:56:29.123 | database_errors | serverfault.com | |
703,744 | How do I allow a specific program Send as access in Outlook? | I have been searching around on the web and the closest thing I found was This Article . It states that I need to click allow when the security warning pops up. however using Sage software means my colleague would need to press this 20 - 30 times per session... This is obviously too time consuming... It also mentions t... | If you have 32-bit version of Outlook then free Advanced Security for Outlook add-in will help. It allows access for specific programs. | 1 | 0 | 2,108 | 2015-07-03T08:11:42.887 | infrastructure | serverfault.com | |
441,415 | ifdown em1 Users cannot control this device. Allow users to control em1 device | I want to allow users to control the em1 device in Linux: When I run this command: [CODE] em1 is the embedded ethernet card 1, I want the user to be able to turn off the ethernet card. On Fedora 17, I get this error message: [CODE] I want a certain user to be able to run a certain command on Linux without giving rights... | Add this line to [CODE] : [CODE] Then any user can run [CODE] / [CODE] . | 1 | 4 | 4,834 | 2012-10-23T15:51:08.723 | infrastructure | serverfault.com | |
219,874 | Lighttpd Rewrites & Blank page | I have configured some lighttpd rewrites, of which one does not work. This is the line that does not work as it should and causes a white (blank) page to be thrown: [CODE] Also note that it is the only one with 3 parameters, all the rest in the section have 0-2. I found this error in the lighttpd error.log: [CODE] Can ... | Don't try to do too much in mod_rewrite. Looks like you're getting trying to enforce digits-only in the third parenthetical. Leave param validation inside the script. I can vouch for the fact that a simple rewrite-once regex like this works on three params separated by slashes, as you seem to be aiming for: [CODE] Let ... | 0 | 0 | 650 | 2011-01-07T15:20:48.710 | infrastructure | serverfault.com | |
69,206 | Rolling Back Stored Procedures in Entity Framework | I currently working a on project that operates within a transaction in entity framework. Before now all of the changes were made using a DataContext. I need to add a call to a stored procedure using that same context. My question is will the stored procedure be rolled back as well in the case of an exception. Below is ... | The rollback will rollback all opening (active) transaction. In case using Entity Framework, EF always auto create an root (outermost) transaction, so that the rollback inside a stored proc will rollback the transaction created by EF as well and it will cause error. There is a way to get over, using Save point -> see h... | 3 | 1 | 2,365 | 2014-06-27T15:25:03.873 | database_errors | dba.stackexchange.com | |
206,462 | How to configure SSL mongodb connection in yml file spring boot? | I was trying to setup [CODE] from spring boot but I couldn't able to find a way. How can I add pem and ca file to below connection? Please note I am using replica set [CODE] | You can try a configuration like the one below; [CODE] | 2 | 1 | 8,261 | 2018-05-11T08:54:09.690 | database_errors | dba.stackexchange.com | |
100,564 | can't connect to remote postgresql database | I'm trying to connect to a remote psql database. Before I added the pg_hba.conf entry with the client's IP address, I was getting an error message : [CODE] I added the client's IP with trust settings. I also changed the listen address in postgres.conf on the server to listen to "*". Then I restarted the database server... | You have to configure the following two files pg_hba.conf [CODE] postgresql.conf [CODE] You have to check if the port 5432 is open: http://www.yougetsignal.com/tools/open-ports/ If it's not then add a rule to your [CODE] : [CODE] 0/0: If you want anybody to access it. You can change it to a specific IP address or range... | 23 | 35 | 85,489 | 2015-05-04T17:45:49.537 | database_errors | dba.stackexchange.com | |
104,716 | Incoming SSH stopped working on FreeBSD 7.2 | Somehow sshd stopped running and no amount of start, restart or onestart will make it go again. I normally ssh into it from a dual-boot laptop computer that shows up on the network as gabi-buntu when running Ubuntu Karmic, and as gabi-pc when running Windows XP Pro. Neither my Putty connection nor the Linux terminal ca... | Geoff and Marie, I didn't get that far. I'm new here. I kept an eye on this question but it kept showing no answers, so I never actually looked at it -- which would have alerted me to your comments. I found a workaround. First, my diagnostic: Turns out the NFS server does care whether its clients are present. I didn't ... | 1 | 1 | 943 | 2010-01-20T18:34:20.747 | infrastructure | serverfault.com | |
683,925 | Can't access local apache virtualhost using Chrome | I have a few virtualhosts on my localhost apache, here's the config of one (the others just change the letters before [CODE] ) [CODE] It doesn't work on Chrome. Works on other browsers and works when I type this on terminal [CODE] When I access the virtualhost on Chrome, I get the error [CODE] and if I'm not connected ... | Do you have a non-beta Chrome version you could try just in case it's a bug with Chrome? Another thing you could try is to code those hostnames and configure the VirtualHosts to access the IP address of your machine instead of 127.0.0.1, even though in theory using 127.0.0.1 should be legitimate. | 2 | 2 | 12,849 | 2015-04-19T23:46:06.570 | infrastructure | serverfault.com | |
38,954 | mysql optimize table crash | When I try [CODE] (MyISAM) on a table which is about 300MB, then it is crashed and must be repaired. What could cause this problem? The same problem occurs on other tables over 300MB. | MYISAM tables are very fragile and get damaged/crash every now and then. First advice is to move to Innodb engine it is simply performed by using alter table command. Now, to fix crashed MYISAM tables the proper way is to bring the MYSQL down and once it is down and there is no traffic you can fix them using this comma... | 1 | 2 | 2,212 | 2013-03-31T08:56:36.630 | database_errors | dba.stackexchange.com | |
148,123 | What is the algorithm to copy a region of one bitmap, into a region in another? | In my project (and I am sure many others), I need to copy a subset (R2) of one bitmap image (R1), into a region (R3) in another, where the destination region can be any size (stretching and scaling where necessary). I am sure this is a solved problem but I cannot find any examples; what is the most straightforward algo... | Here's C-like pseudocode. You can figure how to handle the edge cases (e.g. clipping, mirroring, etc). I'll leave it to you to also figure out how to make this use integer or fixed point math if performance is an issue. [CODE] To do sub-pixel interpolation, you can sample the 4 pixels around the floating-point src_curx... | 4 | 2 | 1,636 | 2012-05-10T20:42:30.690 | api_errors | softwareengineering.stackexchange.com | |
500,018 | Percona on 2nd node will not start | I have setup two Vagrant VMs to simulate Percona XtraDB Cluster for our development needs. The first VM comes online just fine, and everything works. However, when I try to start Percona on the 2nd VM we get errors when requesting state transfer. This is the error we get on db1 : [CODE] What I'm finding interesting is ... | The problem is that Percona by default uses eth0 unless overridden. It uses the following command to work out the ip address it should communicate on: [CODE] Which results in 10.0.2.15. The wsrep_node_address variable can be set which tells it to use an alternate ip: [CODE] We had the same problem and it fixed it for u... | 1 | 3 | 3,241 | 2013-04-16T23:25:11.423 | infrastructure | serverfault.com | |
56,609 | ADO 2.8, VMWare and SQL Server - sudden bulk dropped connections | We have an overworked server currently running a single SQL Server 2000 instance on physical hardware, and about 40 different apps interact with it on a daily basis. Last year, the RAID controller failed and we had no spare, so IT Support hurriedly migrated it overnight to a copy running on a VMWare Server. While it wa... | Check your error logs and that sort of stuff. It SOUNDS like it might be a big I/O freeze - something got swapped out (or the VM started swapping) that probably shouldn't have, and it took so long to swap it back in under load that things just crapped out. Are your VMs swapping? Thats death to performance on any virtua... | 0 | 1 | 742 | 2009-08-20T12:05:38.717 | database_errors | serverfault.com | |
33,184 | sql agent job hangs without any errors or warnings | Problem: we have a SQL Agent job which runs everyday in the morning at 4:00 am. This job hangs sometimes without providing any errors or warnings. It just hangs. BUT when i stop the job and run again it works perfectly. This happens once in a week atleast. This job is executing a SSIS package which loads data from orac... | I have a similar problem in SQL Server 2008. We have hourly schedule which pulls data from multiple Sybase Adaptive and Sybase IQ servers and populates the SQL Server (Using System DSN, Linked Server). Every Friday after 2 AM those jobs hang. After a little bit of research on my Windows Server which has the SQL Server ... | 2 | 0 | 11,276 | 2013-01-18T21:43:14.560 | data_quality | dba.stackexchange.com | |
68,592 | Postgres resource management | I'm consolidating multiple Linux boxes running Postgres into one box. Given the way Postgres handles resource utilization, would one single server service handling all the databases provide a much better performance than multiple server services (each one listening to different IP:port) running on the same host? Thanks | In general, a single instance is more efficient, but has inferior performance isolation between databases. If you want maximum throughput and best resource utilisation, put them all in a single instance. One busy DB will be able to affect other DBs more easily this way, especially when it comes to things like high rate... | 2 | 4 | 1,688 | 2014-06-19T16:15:14.443 | warehouse_errors | dba.stackexchange.com | |
980,268 | Default intervals, timeouts, etc., for Pacemaker resource operations | Pacemaker resource agents mention default values for their operations' timeouts, intervals, etc., in their metadata. For instance, [CODE] lists some: [CODE] Will these be taken as default values when I do not specify explicit values when configuring a resource (e.g. with [CODE] ) or will I explicitly have to set them w... | The timeouts specified within the resource agent's metadata are not defaults, but rather the advised minimum values defined by the resource agents author. The default value, if unspecified, is actually 20s as mentioned in the " Clusters from Scratch " documentation: By default, the operation timeout for all resources' ... | 0 | 1 | 3,472 | 2019-08-22T07:40:05.303 | infrastructure | serverfault.com | |
315,677 | Replace a enterprise JAVA EE enviroment with a lightweight solution | Currently I work in a company with several applications developed in Java, these applications share an "internal framework" with common task like find an employee, check user permissions, etc. These libs in the internal framework are called through EJB remote, so when setting up a new development environment I need to ... | If you have to use the functions provided by that interal framework you can't really escape it. Since the internal framwork is built around EJB you probably won't be able to escape the EJB part since the server will only expose his services through EJB. You may add some things to help the environment setup easier with ... | 0 | 2 | 77 | 2016-04-14T00:49:52.787 | pipeline_ops | softwareengineering.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.