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 |
|---|---|---|---|---|---|---|---|---|---|---|
89,372 | Verify failed SQL Server connections to instances on a given server and email them | I am trying to monitor the SQL Server instances on standalone server / cluster server. I would like to setup something from commandline to check for connectivity to each SQL Server instance on the server. Wherever it fails to connect to an instance I would like to have an email (we have smtp server setup) sent to our D... | You can use server audit specification to track failed logins. use ssis and a script task to read audit file and email it if needed. | 1 | 0 | 141 | 2015-01-15T11:49:41.943 | database_errors | dba.stackexchange.com | |
51,280 | Default value of learning rate in adam optimizer - Keras | I am working on a image classification problem using Transfer Learning. Parameters used given below: Adam optimizer with learning rate - 0.0001 [CODE] For testing I used [CODE] optimizer without explicitly specifying any parameter (default value lr = 0.001). With the default value of learning rate the accuracy of train... | Learning rate is a very important hyperparameter, and often requires some experimentation. There are some good Related questions here, make sure to check those out. With too large a learning rate, you might bounce around an optimum, or you might start off by sling-shooting out to a part of the parameter space where the... | 6 | 7 | 19,141 | 2019-05-02T14:30:07.303 | data_quality | datascience.stackexchange.com | |
577,737 | exim4 not sending email as intended | I am setting up a server that needs to be able to send email from my email account that I have through my hosting provider "JustHost". I have been trying to get it to work with [CODE] and [CODE] options but I never get the email. I am trying to send the email from php but don't get any errors nor email sent. I have tri... | If I understand well, you want this server to connect to the SMTP and send an email which is hosted with JustHost via PHP. You will have to authenticate via PHP first, then send the email on the specific port they provide (Secure SMTP or non secure SMTP). If we check at the web page of the thunderbird, they provide the... | 0 | 1 | 205 | 2014-02-23T21:01:42.637 | infrastructure | serverfault.com | |
328,976 | Memory usage on Creating a Travian like map and 441 Buttons on a page | I'm creating A Map like Travian on Xamarin forms My map is something like 5000*5000 The way I want to do that is to load part of the map (21*21) of the big map where the current village is the center of the 21*21 map but show a 7*7 map to user(Again current village center of it) So when user scrolls the map, can see th... | That's an isometric map. There are many ways to handle it. But if you feel like using math to solve the problem here are a few projection formulas. Given mouse clicks on the screen you can find the maps cords with: [CODE] Given map cords you can project to the screen with: [CODE] How this math is derived can be seen he... | 1 | 1 | 512 | 2016-08-21T23:06:25.017 | api_errors | softwareengineering.stackexchange.com | |
179,820 | How to safely populate pg_notify payload? | Data makes its way into my application with prepared statements and stored procedures, so I'm not too worried about injection. When a new user signs up, I want to send an activation email. Presently I'm doing this with a trigger and a notification. It looks something like this: [CODE] My problem is the notification pay... | Rather than worrying about how to escape it. Just use JSON as a transport layer. Here we use [CODE] [CODE] | 3 | 6 | 4,993 | 2017-07-14T00:30:46.940 | database_errors | dba.stackexchange.com | |
178,110 | Windows XP User Permissions - local machine | I want to have 2 types of accounts on my machine: admin (easy) and a user account. What permissions should the user account have and how should I set them? Permissions should include everything except install and uninstall of programs, deletetion of Program Files and Windows folders or files in them. I set the account ... | It sounds like you're asking for just the standard 'Users' group permissions. If you add a user only to the 'Users' group, it can run most programs and can add, delete, or change items under its own 'Documents and Settings' subfolder (including the quicklaunch bar). Beyond that, it can only modify files and folders if ... | 0 | 0 | 344 | 2010-09-04T17:11:32.857 | infrastructure | serverfault.com | |
724,964 | security issues when executing ssh as root? | i was asking myself, if it is unsafe for some reason, to connect to an ssh-server when you are root on the computer that represents the ssh-client. i was googling, but i only found tons of questions and articles talking about not to log in as root on the ssh server. so, is it ok to execute [CODE] or [CODE] ? edit: @gun... | The only problem would be you can proxy a local port under the first 1024 as root vs your non privileged user. In some cases this is desired issues-setting-up-ssh-tunnel-for-port-80 | 0 | 0 | 144 | 2015-09-26T10:50:47.267 | infrastructure | serverfault.com | |
98,724 | SSMS down arrow on last line | I apologize if this is not the correct place to ask this but something is bugging me. I could have swore that at a previous job I could be on the last line of code in SSMS and hit the down arrow and the cursor would move to the end of the line. Now it just stays in the middle of that last line. I'm using SSMS 11.0.2100... | As already shown in the comments, I've seen/used the same feature in SSMS 2005 as shown here . But I didn't manage to see what ever editor window setting would be different than in SSMS 2012/2014 where the behavior has changed. | 2 | 4 | 252 | 2015-04-24T01:31:46.380 | database_errors | dba.stackexchange.com | |
330,099 | wooden floor seam staggering algorithm | I will soon install wooden parquet floor in my home. And just for fun, I am thinking of writing an algorithm for making efficient use of the wooden planks I have. Here's the problem: I have planks of different lengths enough to cover the surface. The room is rectangular (Later I would like to expand algorithm to take i... | I can give you a very general algorithm useful for these types of problems. This algorithm is mainly useful for your specific problem because you have a relatively small search space. If your search space was huge, you would need some complex optimizations. Select a fixed number of random choices for the next plank to ... | 1 | 1 | 319 | 2016-09-03T13:09:06.853 | api_errors | softwareengineering.stackexchange.com | |
735,431 | Knockd daemon fails to start | I was trying to setup [CODE] , a port knocking daemon available to Ubuntu distros. Before setting up my port knocking sequences, I decided to give a shot to the default knocking sequence, since it should open SSH to my IP address. But when I first started the service [CODE] , it failed with no error message and the ser... | You can configure it to log to syslog by changing [CODE] . Comment out [CODE] under [CODE] and add following: UseSyslog Then start it from shell and check output: [CODE] More details here: http://manpages.ubuntu.com/manpages/dapper/man1/knockd.1.html | 5 | 4 | 5,451 | 2015-11-11T01:46:49.940 | infrastructure | serverfault.com | |
297,170 | Loads of memory in "standby" on Windows Server 2008 R2 | In our SharePoint farm, our Web Front End servers all have loads of memory in "standby" mode, meaning very little is available for our IIS worker process. We have 32 GB of RAM in each of the boxes, and standby memory will creep up to about 28 GB, whereas the IIS worker process only seems to be using about 2 GB. Also, w... | Standby memory is data that has been Cached into memory, and has not been modified since (though it may have been read) and can be dropped if required. It can be instantly freed up on demand. If the physical RAM was needed for anything else, the Standby memory would be dropped, its kept in memory on the off-chance it'l... | 6 | 2 | 13,852 | 2011-08-03T15:52:09.917 | infrastructure | serverfault.com | |
509,387 | hide resuls in linux terminal | so i basicly in my terminal write like this : [CODE] and i get output this: [CODE] so i was wondering is it posible to hide this or do some thing ? PS already tried with [CODE] i know it's not much info but forgive me i'm still learning :) | Have you tried the following? [CODE] | -1 | 3 | 87 | 2013-05-20T22:27:28.067 | infrastructure | serverfault.com | |
277,170 | Is storing data directly in a list node better than storing a pointer to data? | Suppose we have two different doubly-linked list structures: One has content of the node embedded directly in the node: [CODE] The other has a pointer to content: [CODE] What are considerations to prefer one option to the other? The points can be about everything: performance in different conditions, architecture, ease... | Critical Path: Element Traversal Let's say your most critical loops sequentially iterate through a list and access [CODE] . In that case, typically in descending order of efficiency and ascending order of flexibility: 1. Intrusive C-Style List Node The highest performance and least amount of flexibility is often going ... | 6 | 3 | 1,445 | 2015-03-23T20:25:27.450 | api_errors | softwareengineering.stackexchange.com | |
106,223 | Updating a train/val/test set | It is considered best practice to split your data into a train and test set at the start of a data science / machine learnign project (and then your train set further into a validation set for hyperparamter optimisation). If it turns out that the distribution in your train set isn't the same as your test set, perhaps o... | There are two really different scenarios: The training and test data are obtained from the same dataset If the data has been randomly split between training and test set, this is extremely unlikely to happen in the first place. If the data contains some small groups/classes, then the split can be made not only randomly... | 1 | 2 | 131 | 2021-12-17T15:36:06.077 | data_quality | datascience.stackexchange.com | |
194,918 | MS10-070 causing problems with Asp.NET MVC AntiForgery tokens? | KB2418241, KB2416473, and KB2416451 all reference http://www.microsoft.com/technet/security/bulletin/MS10-070.mspx After installing this patches on our Windows Server 2003 machines last Friday, we have been getting a significantly increased rate of errors of the sort: [CODE] The setup is as follows: The web application... | This problem was indeed caused by the security update. The update changed the way things are validated by additionally signing the encrypted data. This included the AntiForgeryToken cookie. If the user restarts their browser or otherwise clears all session cookies, the problem goes away. This was also noted in a commen... | 0 | 0 | 2,834 | 2010-10-26T14:52:22.617 | pipeline_ops | serverfault.com | |
65,981 | How to retrain a K-Modes model based on daily data? | I have read that retraining a model depends highly on what you are trying to achieve. I am conscious that maybe I need to retrain my model daily and after a certain time I have to train the model again from scratch. That's no problem. The thing is, if I were to retrain a K-Modes model, I would need the previous centroi... | There's dedicated [CODE] package for [CODE] / [CODE] learning. It's called [CODE] and here's there repo. It contains [CODE] implementation . Though under the hood, there's no incremental stuff going on, as you need all data in a pass (read more about [CODE] here ). | 2 | 0 | 191 | 2020-01-06T19:21:28.260 | data_quality | datascience.stackexchange.com | |
84,074 | How to convert a really big HTML file to PDF in Windows | We have a few really large HTML files (60-100 MB) that we cannot convert to PDF with any reliability. Adobe Acrobat 9 crashes - hits the 2GB limit for applications. Open Office converts, but removes some of the anchors (). ActivePDF webgrabber crashes. Is using a 64 bit situation an option for this type of thing? I see... | Have you tried wkhtmltopdf ? Its a command line utility that is super easy to use wkhtmltopdf: Install wkhtmltopdf Go to Start -> Run -> cmd [CODE] viola. google.com saved to google.pdf. If I remember correctly it does fairly well with its PDF compression | 7 | 5 | 14,550 | 2009-11-12T15:39:20.553 | infrastructure | serverfault.com | |
935,138 | DNS TTL authoritative vs non-authoritative | I'm confused about the responses I'm getting doing a DNS query using authoritative vs non-authoritative and I'd appreciate you can help clarify. When I query www.google.com using the authoritative server: [CODE] When I query www.google.com using a non-authoritative server: [CODE] As you can see the TTL of the authorita... | If the queried value is not in the cache of the non-authoritative server, it will fetch the value from the authoritative server. This server will specify a TTL, in this case 300. The non-authoritative server will then return this answer with a TTL of 300. If 100 seconds later, the same value is queried again, the non-a... | 1 | 4 | 1,244 | 2018-10-11T20:52:43.657 | infrastructure | serverfault.com | |
177,893 | rpc over https certificate error | Possible Duplicate: rpc over https certificate error i'm trying to get rpc over https working. the only thing i cant figure out is the certitificate i have heard that i need a ucc or uuc certificate? does somebody have a manual of tutorial how to create suchs a certificate ws2k3 with exchange 2003. greetz. | Depends, do you want an externally hosted certificate? (Free from here: https://www.startssl.com/?app=12 ) How to use: http://www.msexchange.org/tutorials/SSL-Enabling-OWA-2003-Using-Free-3rdParty-Certificate.html Or an internally created one? Free: http://www.msexchange.org/tutorials/SSL_Enabling_OWA_2003.html Once yo... | 0 | 0 | 104 | 2010-09-03T19:55:04.373 | data_quality | serverfault.com | |
672,054 | Port 80 to port 8080 Redirection: Apache with Proxypass Too Slow Whereas Accessing xyz.com:8080 directly is very fast | We are facing a Strange Problem....We have a busy server...and the response time is going about 1 Minute Per Request(very slow).....which is running in front of Tomcat.....if we are accessing site with xyz.com:8080 Its super fast(1 Req/Sec).....and we are using Mod_Proxy which redirect the request to tomcat.....My ques... | I presume your Apache is running fast, but just slow for the Tomcat requests? Question not entirely clear and if your Apache itself is slow then you need to look at that. Only one process can listen on port 80 so if you don't want to specify the port than you are going to have to go through Apache. Or scrap Apache comp... | 0 | 1 | 2,801 | 2015-02-28T05:58:46.140 | infrastructure | serverfault.com | |
182,093 | How to fix error - The application was unable to start correctly (0xc0000006) | I'm trying to fix a laptop with Windows 7 Home Premium 64 bit, from a friend. Microsoft Office and Windows Live Messenger are no longer working, whenever any of those programs are launched (excel, powerpoint, word, etc), i'm getting an error that reads EXCEL.EXE The application was unable to start correctly (0xc0000006... | this is almost always down to not having the .net framework correctly installed. remove all existing framework installations then reinstall, right up to Version 4. | 0 | 2 | 25,569 | 2010-09-17T04:06:45.327 | infrastructure | serverfault.com | |
239,480 | Is it possible to grant trigger permissions on only one schema MySQL | I am an analyst that was recently granted a schema on MySQL that I could use for some business needs. I was told by my DBA that the permissions associated with Triggers require global super user privileges. It's reasonable that I don't have global super user privileges, but would like to have those privileges for a sch... | This is going to depend greatly on what version of mysql you are on. If you are on 5.1 or higher (specifically later than 5.1.6) https://stackoverflow.com/questions/19815837/in-mysql-what-privileges-are-required-for-executing-a-trigger MySQL takes the DEFINER user into account when checking trigger privileges as follow... | 0 | 1 | 1,917 | 2019-05-30T18:26:47.657 | database_errors | dba.stackexchange.com | |
126,556 | Restoring a MySQL database to a failed master | I have a master-master configuration in MySQL with two servers. One server should stay live on the network to serve requests (call it server A) and the other should be taken offline to push new code changes (server B). My idea originally was that after running STOP SLAVE on both servers, that server B could be shut dow... | Slow ALTER in Master-Master In Master-Master, each server is acting both as a Master and a Slave to the other server. [CODE] -- When you later do [CODE] , the stuff that was performed on the Master will be applied to the Slave. If you did, say, a big [CODE] on a big table, that [CODE] will run, taking a long time. This... | 0 | 0 | 487 | 2016-01-18T19:57:45.387 | database_errors | dba.stackexchange.com | |
101,733 | MySQL select with join table | I have 3 tables, one of them is join table: user table: [CODE] media table: [CODE] user_media table: [CODE] I want to create a select which lets me search through user.name and media.value and return formated values. Ex: [CODE] UPDATE [CODE] Result: [CODE] II [CODE] Result: [CODE] III [CODE] Result: 0 | You want 3 different searches and the results combined. I'd use [CODE] : [CODE] Tested at SQLfiddle . (replace the [CODE] with the value you want to search for.) | 1 | 0 | 398 | 2015-05-17T14:42:07.607 | database_errors | dba.stackexchange.com | |
670,164 | nice, ionice are not enough | I have a script that starts big, CPU and memory consuming tree of processes. There is Python and executables down there, but everything starts with single bash script and python subprocesses. During the execution, rest of system is completely chocked down. I attempted to do mitigate by [CODE] , however this is not suff... | You cannot limit "pace" of consuming memory, but you can limit it's total memory usage via various different mechanisms. 1) security limits Limit memory usage for user running the process via /etc/security/limits.conf. This may not work in your case if you are running this process as the same user working on different ... | 8 | 4 | 6,056 | 2015-02-20T13:53:57.157 | infrastructure | serverfault.com | |
238,200 | Can I create a query which allows me to do this? | I have a table which stores user information, one column stores their ID. I had implemented four different attributes in the same table which stored a bit indicating which file operations that user could perform (read, create, update, delete). Thankfully, I realized that was terrible implementation and instead created ... | It's not a good idea to separate those attributes to their own tables. It makes your data unorganized. If your attributes are simple boolean type, you can combine them as one numeric value. Just think of each attribute as a specific bit position. For example read : 1st bit create : 2nd bit update : 3rd bit delete : 4th... | 1 | 1 | 344 | 2014-05-07T08:38:54.420 | pipeline_ops | softwareengineering.stackexchange.com | |
471,255 | Simple SMTP server for alias based forwarding | I'm looking for a SMTP server that will just be used to forward a few email addresses. Two requirements: Easy to install and configure on Ubuntu. Has an aliases file that is easy to automatically add to. Ideally, it would be a text file consisting of rows like "foo@myserver.com mrfoo@gmail.com". (Ideally) Can be easily... | Use Postfix On ubuntu, do following [CODE] I am doing the exact same thing with my vps email setup. check up my blog post Tiny VPS Postfix . I am copying the example below [CODE] [CODE] Remeber to change [CODE] and [CODE] Alias file Your [CODE] file should be like the following [CODE] The left hand side should have no ... | 5 | 5 | 4,659 | 2013-01-22T03:59:40.163 | infrastructure | serverfault.com | |
172,115 | Oracle Materialized View Error Log Table? | I have a number of materialized views that for various reasons on (rare) occasion will fail to materialize. Is there a database table that stores the error messages from the refresh attempts that I can query? | You can use the following query to check when the MVs were last refreshed. [CODE] If you were refreshing these MVs using [CODE] :- [CODE] If you were refreshing these MVs using Job Queues/DBMS_JOB`:- [CODE] The reason of the job failure is written in [CODE] file as shown below as well as in a trace file referenced in t... | 6 | 6 | 17,424 | 2017-04-27T00:57:58.087 | database_errors | dba.stackexchange.com | |
231,324 | Will disk cloning resolve bad stripes on RAID? | We have a logical RAID1 drive in bad stripes state, which kept that status even after replacement and rebuilding of both drives, and gives errors in Windows logs about failure of writing to disk. IBM support suggests erasing and re-creating the RAID, then re-installing the Windows. The resulting down-time unacceptible ... | That should work fine. I had a VERY similar problem where windows was experiencing file system errors. I cloned the drive, blasted the array, recreated it and restored the image and everything has been perfect since then. My question was HERE . | 0 | 1 | 1,036 | 2011-02-04T19:01:07.647 | infrastructure | serverfault.com | |
656,329 | Set inet_interfaces for each postfix service | I have a complex postfix setup with dovecot authentication, amavis and spamassassin. The inet_interfaces are set to my IPv4 address, IPv6 address and IPv4 and IPv6 loopback. But I want that the submission service only listen on the public IP addresses and not on localhost addresses. How can it set this? Using [CODE] in... | I found out the solution. First you have to check that in [CODE] file, your hostname is mapped to your IPv4 and IPv6 address. Then you can can use this in [CODE] : [CODE] | 1 | 3 | 727 | 2015-01-05T10:39:59.637 | api_errors | serverfault.com | |
946,189 | Reconnecting secondary DRBD node | I have set up test DRBD installation succesfully, with switching, synchronization etc working correctly. But I also wanted to test the reliatbility of the setup, so I gave it a good "trashing" like disconnecting network interfaces midflight, etc. In the course of such testing I have "managed" to get secondary to [CODE]... | DRBD is already [CODE] , but it's in a [CODE] disk state. This means that there is either something wrong with the backing disk causing it to throw IO errors, or something else is preventing DRBD from accessing that disk. [CODE] should be full of messages surrounding the issue, but you can also try a, [CODE] from the n... | 1 | 0 | 2,981 | 2018-12-20T21:28:22.240 | infrastructure | serverfault.com | |
302,080 | Passing a list of choices with different arguments for each choice | I am writing a card game, in which I separated the "Core Logic" of the game from the UI. Communication with the player from the core logic part is done via callbacks which the UI implements and handles (in a separate thread if needed). The core logic library calls these callbacks, the UI handles them, passing an object... | I'm for 2, but with slight modification. I wouldn't use [CODE] . You can just as fine use [CODE] . If you were to add [CODE] to the mix, it would duplicate the type information contained within the object. On top of that, I would create an Visitor for the [CODE] class. This will remove the need for reflection and give ... | 5 | 2 | 1,463 | 2015-11-08T15:41:57.700 | api_errors | softwareengineering.stackexchange.com | |
195,622 | What is this in error_log ? Invalid method in request \x16\x03\x01 | I found this line [CODE] , and some other similiar lines like: [CODE] Apache did a graceful restart a few seconds after the first error... | With regards to the first error, it's possible that your webserver is mistakenly trying to speak unencrypted HTTP to a request that came in on port 443 (HTTPS). To test this, telnet to port 443 on your webserver's hostname or IP address and issue: [CODE] . Assuming the IP address is 10.0.0.1, that you're using Windows,... | 12 | 16 | 64,315 | 2010-10-28T01:41:16.317 | infrastructure | serverfault.com | |
1,125,711 | Setup self-hosted mail server and route MX record from domain | I want to move away from my current email provider which also hosts my domain and setup a private mail server on my local machine which runs 24/7. Let's say I have 4 registered email addresses [CODE] , [CODE] , [CODE] and [CODE] , where [CODE] is my domain registered at IONOS. I want to use my IONOS domain DNS configur... | Will I have to adjust my email client configuration to use my private machine's mail server directly or is it possible to still use imap.ionos.de and they will take care of routing to my local machine which is provided in the MX record with my DynDNS domain? They will not take care of any routing, because there's no ac... | 0 | 2 | 934 | 2023-03-09T08:26:18.983 | infrastructure | serverfault.com | |
302,134 | Options for handling a column that is an instance count | Consider the following table [CODE] The [CODE] column is an incremented value based on the [CODE] combination. It should be monotonically increasing by [CODE] . There are other columns that have been omitted for clarity. A valid set of data would look like: example_id parent_ref variant instance_count mod_date 1 47 abc... | Incremental Gap Free Number What you've described is the requirement for an Incremental Gap Free number. There are two ways to implement this requirement. You've already mentioned the VIEW method. Your "lock table" method is flawed. The methods used are: Use a View/MV to calculate the [CODE] . Lock a row in a parent ta... | 0 | 1 | 34 | 2021-11-04T16:17:25.907 | database_errors | dba.stackexchange.com | |
1,097,660 | How to make grub for fully portable linux on usb thumbdrive without writing entry to systems EFI? | I've installed Debian Bullseye on a usb thumbdrive. When I plug the thumbdrive notebook bootet from it, because there was an entry in UEFI "debian". After removing it with [CODE] thumbdrive didn't boot anymore after selecting it from UEFI bootmanager. It wasn't bootable anymore because UEFI used then default Windows Bo... | If your USB is formated as fat (or vfat), you just need an /EFI directory on it and install grub there. It doesn't need a separate EFI partition unless it's not fat format. The bios doesn't need to know about that EFI entry so you don't need to install it with efibootmgr. However, you might need to tell your bios to bo... | 0 | 0 | 1,749 | 2022-04-02T18:22:57.517 | infrastructure | serverfault.com | |
14,460 | Drone is unable to clone GitHub Project | I'm trying to set up drone, but when running a build it fails at the clone step. I'm pretty sure this is a DNS issue and that I just configured the runner wrong, but I just can't figure it out. This is my docker compose file (I have removed some information): [CODE] I made sure that I can ping github.com from the traef... | I guess there is an issue with your overlay network which has been created by the docker command. The host machine able to ping the GitHub means we are blocking somewhere in the docker network. you can do [CODE] over the docker bridge to track the blocker. you can do some changes on your docker-compose.yaml to test it ... | 0 | 1 | 498 | 2021-08-07T12:50:57.423 | pipeline_ops | devops.stackexchange.com | |
59,040 | Issue with Windows Server backup | I have windows server 2008 r2 installed, Only service running on it is hyper-v. I am trying to take backup using windows server backup feature and it fails with following error in eventlog The backup operation that started at '?2009?-?08?-?22T18:42:14.123000000Z' has failed because the Volume Shadow Copy Service operat... | Do any of the VMs you're trying to back up contain dynamic disks? (That's in disk management within the VM, dynamic disks as opposed to basic disks. Not dynamically expanding VHDs) To quote Microsoft : When you perform a backup of the virtual machines, you must back up all volumes that host files for the virtual machin... | 1 | 1 | 1,374 | 2009-08-26T14:43:03.540 | database_errors | serverfault.com | |
1,095,138 | cmd pipe -> System cannot find specified path | Using [CODE] on Windows 10 Pro 21H2, when I try [CODE] I get [CODE] . Same thing if trying [CODE] So [CODE] does not appear to be the problem. I need this working because of how Visual Studio Code connects to ssh servers: [CODE] which gives exactly the same issue. EDIT: Just tried on an old machine with Windows XP. Wor... | Answering myself because the problem is gone after a Windows Update. Thanks Microsoft! | 1 | 0 | 632 | 2022-03-02T08:18:50.770 | infrastructure | serverfault.com | |
306,248 | NFS v3 versus v4 | I am wondering why NFS v4 would be so much faster than NFS v3 and if there are any parameters on v3 that could be tweaked. I mount a file system [CODE] and then run [CODE] I can read 200-400MB/s but when I change version to [CODE] , remount and rerun the dd I only get 90MB/s . The file I'm reading from is an in memory ... | NFS 4.1 (minor 1) is designed to be a faster and more efficient protocol and is recommended over previous versions, especially 4.0. This includes client-side caching , and although not relevant in this scenario, parallel-NFS (pNFS) . The major change is that is that the protocol is now stateful. http://www.netapp.com/u... | 11 | 4 | 8,324 | 2011-08-29T23:43:45.710 | infrastructure | serverfault.com | |
898,327 | Unable to access supervisord web interface in aws server | I am using supervisord tool in AWS server to do run some scripts automatically.I am able to see the status of the process in AWS server directly by executing below commands in command line. [CODE] But i wanna see the process status in WebGui so that i configured below settings in supervisord.conf file. [CODE] Url:55.12... | Firstly, check that the service is indeed listening on all interfaces: [CODE] You can then test the app by using [CODE] or [CODE] locally: [CODE] If both of those tests pass, I would then check your security groups on the AWS instance and make sure that TCP port 9001 is allowed. If it's not allowed, you should allow it... | 1 | 0 | 1,254 | 2018-02-22T06:30:47.483 | infrastructure | serverfault.com | |
11,616 | setup transaction replication in cross domain | I'm trying to setup transaction replication between two domains under the same active directory. The publisher server is in a DR site domain and the remote distribution server is in the main site domain with the subscriber. Here are the machine names Publisher Server : publisher1.drsite.mycompany.com Distribution Serve... | You need to add a CNAME in your DNS at your primary SERVER putting the DR server's hostname. This way publisher.mainsite.mycompany.com can be resolved. Then use publisher as the hostname to use when connecting. | 4 | 2 | 1,414 | 2012-01-25T21:01:43.390 | database_errors | dba.stackexchange.com | |
287,130 | why is there an index range scan on max() query? | I have a table that logs the transmission of data to another system. [CODE] The transfer_status column stores the HTTP status from sending the data. transfer_status is never null (initially 0), last_sent_time is initially null. So I have a health check, to see when the last successful transmission was: [CODE] and I hop... | Drop that index and create without desc: [CODE] The database can decide to read an ascending index in descending order. The last entry can be read as quickly as the first entry. But even better, it can recognize a case when you search for a MIN/MAX value and use the operation for that: [CODE] Unfortunately this does no... | 0 | 1 | 292 | 2021-03-16T15:08:31.067 | database_errors | dba.stackexchange.com | |
1,149,556 | Configuring Cloudflare DNS for Office 365 to Maintain Separate Mailboxes on sitground.com | I have a web application on the site siteground.com , associated with the domain adward.com. I used microsoft365.com as the mail service. On siteground.com , there is a mailbox, for example ( job.adward.com, info@adward.com ), that I do not want to add to microsoft365.com . I have configured all of this through cloudfl... | You can't manage this at the DNS level; DNS only knows about domains , not actual email addresses. When you configure the MX record for a given domain to point to a given email service, all emails addressed to all recipients (including non-existent addresses) in that SMTP domain will be delivered to that provider. If y... | -1 | 1 | 88 | 2023-12-11T13:15:59.033 | infrastructure | serverfault.com | |
1,054,687 | Sync ntp immediately at boot with undiciplined clock | I have setup one ntp server and 5 clients. I want to force sync the clients to server clock on boot. With my current ntp settings the computers are syncing but after several minutes. I cannot wait so long for them to synchronise. I am not using a RTC/GPS and all machines are in a LAN. What config or commands do I need ... | You can use the -g parameter. From the manpage: -g Normally, ntpd exits with a message to the system log if the offset exceeds the panic threshold, which is 1000 s by default. This option allows the time to be set to any value without restriction; however, this can happen only once. If the threshold is exceeded after t... | 4 | 12 | 6,136 | 2021-02-23T07:33:07.027 | infrastructure | serverfault.com | |
122,236 | Is it possible to obtain number of prepared statements a connection holds? | I have a heavy loaded application that holds connections persistently (it creates them on start and never releases). During the lifetime it creates and (re)uses prepared statements, which are stored in an LRU structure (so the least used are eventually released). And the question is: is it possible to obtain the number... | You can view prepared statements with the [CODE] view. Query this view to get a count. | 4 | 2 | 2,381 | 2015-11-27T03:55:45.113 | database_errors | dba.stackexchange.com | |
220,520 | Automatic deployment of VNC server to remote terminals (PC's) via Remote Desktop | We have several remote, unmanned terminals where I require a VNC server, as using Remote Desktop prevents others using the terminals. Often the connection to one of these is extremely slow, and manually using Remote Desktop to perform the VNC installation is painstaking. What I would like to do is build a package that ... | Do you have any special authentication requirements? How picky are you about performance? If you want integrated Windows authentication you would want UltraVNC. Have you done a search for [CODE] ? Depending on the version of VNC, in many cases it is as easy as copy files to the system, adding any prefs to the registry,... | 0 | 0 | 619 | 2011-01-10T07:05:26.077 | pipeline_ops | serverfault.com | |
161,282 | Why might a "yum upgrade" appear to work but not actually apply anything? | I have a server running CentOS (with Fasthosts UK). Running a "yum upgrade" lists - and processes - a LOT of packages that it has upgrades for. Everything is downloaded and installed. The problem is that if I do a subsequent "yum upgrade", it list all the same upgrades again! As if it was only running as a simulation a... | Based on that log snippet, it looks like you may have some repository priority conflicts. In my experience, the various repositories for CentOS are not well-coordinated. RPMForge doesn't always play nicely with EPEL, for example, and you get version number races. To get more information, you could make yum run in verbo... | 0 | 2 | 424 | 2010-07-16T22:22:14.600 | infrastructure | serverfault.com | |
840,463 | SQL Server Bulk insert over UNC path failing, despite full access | I have a setup with 2 machines (client on win2012r2, sql server on win2016) which are both not part of a domain. The client machine has a share, accessible to Everyone. I'm using SQL Server authentication. I'm able to browse the share from the SQL server I have an application which attempt to do a BULK INSERT, but it's... | What Sean and Tim said in their comments. If your SQL Server, which I'll call SQLServer2016, is running as local system, it's accessing the share as the machine account, which I'll call $SQLServer2016. Your share is available to EVERYONE. EVERYONE is a built-in group that includes Authenticated Users (another built-in ... | 2 | 2 | 4,610 | 2017-03-24T18:59:04.077 | database_errors | serverfault.com | |
381,986 | What is a good solution for failover when all I have is 2 physical servers? | I have 2 physical servers, each with 32GB RAM and 2 quad core procs. Each will run VMWare, 4 VMs each, one DB, 1 app server, 1 task queue server, and one general purpose server. One will run my web application. The other will constantly replicate synchronously from the primary server, to provide a fail-over that's read... | You can run haproxy on the same two physical machines with a high availability solution such as keepalived. The virtual IP will be moved between the two machines in case of the master failure. Clearly, the users will request the service via the VIP which will be held by the master machine. | 0 | 5 | 661 | 2012-04-22T14:42:25.183 | database_errors | serverfault.com | |
1,112,353 | Centos7: Firewalld port 80 not being blocked | Why am I able to telnet to my machine on port 80 when I do not have http or port 80 opened and there are no services listening on port 80? [CODE] I've tried to remove the port but it says it's not in the active zone, so shouldn't my telnet connections be rejected? [CODE] I've double checked and I do not have iptables s... | First of all you need to find if there are really some services which listen in port 80. For this run, as root or with sudo: [CODE] Second, try to list all zones to see in what zone is port 80 added: [CODE] An third, in Centos 7, firewalld acts like a front-end for iptables, that's why you still have the iptables comma... | 1 | 0 | 837 | 2022-10-06T02:03:11.720 | infrastructure | serverfault.com | |
898,517 | linux fine tuning after setting the MTU to jumbo frame | We want to set the MTU to 9000 bytes on our Linux machines (distribution is Redhat 7) In this case, how would I tune the memory page size according to MTU size of 9000 bytes? Also, what are the risks associated with setting the MTU to 9000 Bytes? Could there be performance issues? And what could be the possible impact ... | Nothing special in memory configuration is needed, jumbo framed should work in standard configuration. Sure your network card (and driver's) should support it. Also not all switches support jumbo frames. Read https://wiki.archlinux.org/index.php/jumbo_frames | 0 | 0 | 706 | 2018-02-23T05:19:44.850 | infrastructure | serverfault.com | |
302,077 | SqlCommand using Parameters but still it is creating Multiple Plans for One Query | I have the below code, I'm using parameters, but still it is generating many Duplicate SQL Execution Plans. What is wrong and how it can be fixed, please? [CODE] | Do not use [CODE] to add parameters to the collection. SqlClient will infer the SqlDbType based on the .NET type and define the parameter length for string types based on the actual value length rather than the maximum length. Each permutation of differing parameters/lengths for the same query results in a different pl... | 0 | 8 | 577 | 2021-11-03T17:14:32.440 | database_errors | dba.stackexchange.com | |
415,414 | Is there something wrong with these rewrite rules? | For my website, I have the following apache config: [CODE] Basically, any request on a nonexistent file without dot is redirected to the my front web controller. It seems to work well but I don't understand why I have many of the following lines in the log file: [CODE] If I try URLs like [CODE] or [CODE] , my log shows... | Thanks to @larsks suggestion and reading the rewrite logs I understand that the error logged: [CODE] was not for the exact request [CODE] but for the request [CODE] . The rewrite rule was not called because of the dot in the file name. So all is normal and work correctly. | 0 | 0 | 697 | 2012-08-08T09:10:03.027 | infrastructure | serverfault.com | |
261,849 | Unusual traffic to my webserver, asking for myinfo.any-request-allowed.com | Running apache on a debian server, I have been starting to monitor logs, and have found some odd occurrences. Does anyone know what this any-request-allowed.com site is trying to do... and how can I block this potentially malicious traffic? Sanitized logs: [CODE] Where 404 is the error code and 294 is the size of the r... | This looks like internet background noise. A dodgy or compromised host is probably port scanning for open web servers and then testing them out to see if they'll relay a [CODE] to a 3rd party site. Your server is naturally 404ing the request. It's likely not targeted at you and the chances are it will stop, pretty soon... | 1 | 5 | 1,968 | 2011-04-20T17:21:57.610 | infrastructure | serverfault.com | |
237,581 | Postgres: flatten Key-Value (K-V) store with jsonb_agg | I have two tables: bar and foo (one to many respectively). The foo table has an internalId and an external reference. The issue here is that the external reference can be duplicated. I want my query result to have two columns: bar_id and mappings (where bar_id is not duplicated) where the key is the duplicate id and th... | You need a two step aggregation: [CODE] Your updated fiddle: https://www.db-fiddle.com/f/pKbFeRedD59s4f3VTnuyih/0 | 1 | 1 | 592 | 2019-05-07T18:10:39.577 | data_quality | dba.stackexchange.com | |
290,159 | Why does PostgreSQL apparently ignore null cells whenever using NOT LIKE? | This set me back for a long time, puzzled by why the entirely wrong record was returned: [CODE] Only by sheer chance did I try this (which made it work): [CODE] You see, the "our description" text field was null for the record I expected, and for some reason, this makes PG not even consider it for "NOT LIKE", even thou... | This is how NULL is defined (and mandated) in the SQL standard and has nothing to do with Postgres specifically. All other DBMS (that have some respect for the SQL standard) will behave the same. Any comparison with a [CODE] value yields NULL because you can't compare something you know nothing about. This has nothing ... | -1 | 2 | 961 | 2021-04-21T01:15:49.317 | database_errors | dba.stackexchange.com | |
570,294 | Getting AMANDA setup - issues with labeling | Im attempting to setup AMANDA to use a TL4000 system with 3 drives and 45 slots. I've run into a few issues that have me stymied: [CODE] seems to work about half the time. The rest I get messages like [CODE] . Often rerunning the command will get a success. When I run [CODE] I get errors like this: ERROR: server.edu /v... | Turns out that my definitions in 'changer.conf' were a bit confused. There are three drives in this unit and the numbering for [CODE] created during the [CODE] run wasn't truly sequential. To debug this: use a combination of [CODE] and then [CODE] to see which actual drive your tape ended up in. This is the file I ende... | 1 | 1 | 1,835 | 2014-01-28T00:46:37.927 | database_errors | serverfault.com | |
550,822 | Compress with Gzip or Deflate my CSS & JS files | i ve a fashion website & using wordpress. I want to Compress or Gzip or Deflate my CSS & JS files . i have tried many codes with .htaccess to compress but not working . Would any body help me please? My phpinfo is http://deemasfashion.co.uk/1.php below are the codes i have tried not not working. Few of them might be sa... | [CODE] doesn't show Apache's configuration unless it's a module - [CODE] shows Apache's configuration, including loaded modules. If you have mod_gzip installed, this should work: [CODE] (Note, the first two lines grab CSS and Javascript, but also anything with a "text" mime type) I prefer mod_gzip to mod_deflate as GZi... | 0 | 2 | 12,615 | 2013-11-05T15:42:33.293 | infrastructure | serverfault.com | |
263,426 | eth0 doesn't start after interfaces modification | Just installed Ubuntu Server 10.04 on VMWare ESXi 4.0.0 (201167) and changed the interfaces file. My (modified) interfaces file looks like this: [CODE] On reboot (or [CODE] ) ifconfig -a shows the following: [CODE] So eth0 won't work until I type: [CODE] I've had this working in previous versions of Ubuntu without any ... | Add [CODE] or append eth0 to [CODE] to [CODE] files | 2 | 3 | 1,457 | 2011-04-26T10:19:37.377 | infrastructure | serverfault.com | |
51,820 | When and where dummy.data.frame would be used? | I am learning this post , in which, the author gives the piece of code: [CODE] Other parts are easy to understand though, what does this line: [CODE] do? I constructed a tiny dataset to figure this out: [CODE] Which produces: [CODE] I cannot imagine what this is used for. | The original df looks like: [CODE] Using [CODE] , the character column "title" is recoded as "one-hot" (aka as dummy variable). Each column =1 if [CODE] (or zero otherwise). [CODE] An alternative encoding would be to use "title" as a factor with three levels [CODE] . However, in many cases "one hot" can be digested bet... | 1 | 2 | 719 | 2019-05-12T11:01:15.207 | data_quality | datascience.stackexchange.com | |
388,910 | rsync Module error | I have a rsync server and i can not list modules or transfer to modules. Following work correctly: [CODE] It will be create a new file "test" in the home directory of user Following don't work correctly: [CODE] and [CODE] It returns this: [CODE] On the server (with ssh) execute "rsync localhost::" returns the module li... | It works with this command [CODE] The reason was the option [CODE] | 0 | 0 | 2,279 | 2012-05-14T14:29:57.877 | infrastructure | serverfault.com | |
49,797 | Jmeter get requests failing to exit for existing response | I want to let JMeter exit while controller when response value [CODE] is found in response data. sample response data: [CODE] I have set while controller condition [CODE] The JSON expression is tested works to extract a list of "model_name". however, the GET request isn't exiting when the response value is already ther... | Your "sample response data" is not a valid JSON, you won't be able to use JSON Extractor on invalid JSON objects. Check it yourself - https://jsonlint.com/ Even if your JSON is correct your JSON Extractor configuration will return the first model name, not the "list", to get the "list" you will need to set "Match No" t... | 1 | 0 | 458 | 2022-02-24T10:13:28.507 | data_quality | sqa.stackexchange.com | |
587,595 | Hyper-v 2012 R2 Nic Teaming with VLAN's | Currently have a 3 node 2012r2 cluster. Everything is working fine without any issues with networking / VLANS / etc... The issue that I am having is needing to define the VLAN at the Guest VM Configuration Level. I can create a Virtual Teamed NIC and assign it to say VLAN 13. Attach the VirtualSwitch to this newly crea... | Setup NIC Teaming, use this Virtual Adapter to setup a HyperV Virtual Switch and set the VLAN ID for the management OS on it. Set the VLAN ID of the VM on the network card of the VM. http://blogs.technet.com/b/keithmayer/archive/2012/11/20/vlan-tricks-with-nic-teaming-in-windows-server-2012.aspx | 3 | 2 | 9,056 | 2014-04-08T20:20:45.330 | infrastructure | serverfault.com | |
426,762 | Does logging inside a class violate the SRP? | I wrote a class that takes a [CODE] class as one of its arguments: [CODE] There is other functionality, but a colleague, specifically focused on this method, cites that, because the class calls the [CODE] , it violates the single responsibility principle (SRP). My position was that the class is responsible for handling... | Your colleague is taking the word "Single" too literally and dogmatically. SRP just means a class should have a single conceptual purpose. What constitutes a single conceptual purpose will differ between different types of software, and how the module fits in a larger program. There isn't some sort of mechanical defini... | 31 | 42 | 5,698 | 2021-05-27T16:12:20.043 | api_errors | softwareengineering.stackexchange.com | |
18,483 | Performance testing automation tools for desktop applications | Is there any open source automation tool for performance testing for desktop applications? Load Runner and JMeter are supporting web applications only. I searched in several websites but found no performance testing automation tools. | Usually it isn't required to do performance testing of desktop applications as they're being used by 1 user only hence visual experience is quite enough. However if desktop application relies on backend server, i.e. it does network communication over HTTP protocol using an API or displays data from RDBMS you might want... | 3 | 3 | 5,628 | 2016-05-06T13:58:37.340 | data_quality | sqa.stackexchange.com | |
1,075,972 | RAID drive - Mechanical Positioning Error | We've just had a RAID drive go offline. There were no log entries indicating failure prior to 'Mechanical positioning error' - six 'Peripheral device write fault' entries were logged after, and before the controller took it offline and started to rebuild with the hot spare. There seems very little information about thi... | Drives can fail after some time, that's why you're using RAID. Just replace it. | 0 | 1 | 190 | 2021-08-29T20:58:05.437 | infrastructure | serverfault.com | |
371,334 | Compaq DL360 PCI Memory controller | I have a Compaq DL360 with two P3/933 Mhz CPUs and 1152 MB RAM running Windows 2003. Device manager shows a yellow question mark over the PCI Memory Controller. I understand that device to be the remote access PCI card, although it seems to be working fine. Do I need to install a specific driver for it? Where could I f... | A Compaq/HP DL360 G1. Older server, circa 1999-2001. The complete driver set for that model is available here . You may want to consider installing the entire Proliant Support Pack to get the full set of drivers for that model. | 0 | 2 | 563 | 2012-03-19T22:39:29.527 | infrastructure | serverfault.com | |
127,001 | Passing ROWTYPE parameter to EXECUTE | I am developing a function in Postgres which aims to recover for each record of a query the value of a result of a check contained in a set of functions. Only one of these functions will return the correct value. These functions have a common prefix 'fn_condition_' and receive an object of type 'my_table' as parameter.... | Use the [CODE] clause of [CODE] to pass values safely and efficiently. That's not available in your outdated version 8.3, yet. There it could could work like this: [CODE] Call: [CODE] If you use [CODE] in the function body, then your table in the [CODE] schema is not visible any more. And it would be a very bad idea to... | 5 | 5 | 4,072 | 2016-01-22T15:26:46.473 | warehouse_errors | dba.stackexchange.com | |
48,982 | Windows Cannot View Domain Location | I used to manage two domain controllers when the primary DC which handled all domain roles, DNS and DHCP service went down. So I configured DHCP and DNS on the other domain controller. The problem is the following: All PC that are already joined to the domain cannot see the domain. For example when I want to give permi... | Make backup of Active Directory. Make backup of "GOLDEN.AE" DNS zone. Reinstall "GOLDEN.AE" DNS zone. Restart netlogon service on DC2. IMHO | 0 | 1 | 6,201 | 2009-08-02T08:32:40.610 | infrastructure | serverfault.com | |
703,986 | ext. 2-bay USB-Drive with RAID: btrfs RAID vs built-in RAID | For backups I want to use an external USB3 Drive: two HDD with RAID 1 (mirror) in one 2-bay enclosure. As filesystem I'll use btrfs because of subvolumes and checksums. Performance isn't important, but data safety. For use of RAID1 I see 3 possibilities: built-in hardware RAID of the external enclosure the RAID capabil... | I think option 2 is the way to go. Beside the points you've already mentioned, a hardware raid with your USB shelf will probably be bounded to this exact model, as a lot of hardware raid controllers are writing metadata information about the raid on the disks - therefore it would be hard/impossible to move the disks to... | 3 | 1 | 1,193 | 2015-07-07T06:47:44.070 | database_errors | serverfault.com | |
204,016 | Database design for payment feature system | I am building a system where visitors can buy modules from my website. For now I only have 3 available, but of course this number will keep growing. In order to facilitate this in my MySQL database I am doubting between one of these two architectures, mainly concerning about performance and scalability. I have a user t... | The second approach conforms to Third Normal Form (3NF) which is always a better place to start than something which is un-normalized (0NF) like your first option. Converting repeating columns into rows in another table is perfectly scalable and will help keep your source code more stable because you won't be adding co... | 0 | 3 | 98 | 2018-04-15T16:56:06.783 | database_errors | dba.stackexchange.com | |
729,282 | xenserver - xe-toolstack restart - i lost connection from xencenter | After Xencenter-toolstack restart i lost connection from xencenter I try to restart using ssh - putty following message is showing and i lost the browser access also ............ All xe command is not working and postponed on ssh .... @xs01p04 log]# xe-toolstack-restart Stopping xapi: [ OK ] Stopping the v6 licensing d... | [CODE] will always cut your xencenter connection. (but the vm continue to run correctly on the host) Please log in normal console (iDRAC, iLO, etc..), as that mean your XAPI can't restart and your server state is unknown. I would check with [CODE] or in [CODE] for [CODE] for any errors. | 0 | 1 | 11,573 | 2015-10-15T20:19:16.090 | spark_errors | serverfault.com | |
130,616 | How to log connections to the database? | I'm trying to write a small program that is meant to connect to a database over TCP/IP using raw sockets with Python. I can't open a connection so tried to see what's happening on PostgreSQL's side but I can't get logging to work. So, how can I enable connection logging? If logging is not possible how can I debug conne... | I found that I need to send the protocol version along with the user, otherwise the connection is simply dropped, as the documentation states. | 2 | 1 | 2,615 | 2016-02-26T23:00:03.310 | database_errors | dba.stackexchange.com | |
876,143 | reverse mapping checking getaddrinfo for XXXXXX failed - POSSIBLE BREAK-IN ATTEMPT | I currently have a LAMP server running Centos 7 server on a private cloud. I have had a request from one of my clients that they would like to SFTP on to the server using a key. I have done this and it currently works for me using FileZilla but when they try this they are unable to connect and get asked for the passwor... | sshd: reverse mapping checking getaddrinfo for host.example.org [10.9.8.7] failed - POSSIBLE BREAK-IN ATTEMPT! The typical reason you see that warning is that the reverse DNS record for an IP-address used to connect to your SSH server resolves to a hostname, but that hostname either doesn't exist at all or it doesn't m... | 0 | 2 | 3,026 | 2017-09-29T13:45:01.907 | infrastructure | serverfault.com | |
72,117 | Recover orphaned diskspace from ESXi datastore | I was uploading a big file (iso of +/- 6 Gb) and somewhere in the middle I've got an I/O error. Now I can't see the file in the datastore and I lost +/- 3 Gb. How can I delete the 'partial' file or reclaim the space? | Depending on the way you view the datastore you may or may not be able to see the file. I've noted that the ESX VI client's datastore viewer does not show some files. If you were to ssh into the system and cd to the VM folder on the datastore ( cd /vmfs/volumes/datastore_name/vm_name/ ) then you should be able to see t... | 0 | 2 | 2,388 | 2009-10-07T12:09:44.270 | infrastructure | serverfault.com | |
139,027 | How to do data migration between different schemas? | My company is in the process of migrating a customer's data from their third party system into our own system. We currently use a java application that we have developed in house that selects data from the source (third party database), transforms it into our schema, and inserts into the target (our application databas... | Did I understand this correctly that your customer has MSSQL Server? Source Database MSSQL or other You have two options: Script your own replication Use Oracle Golden Gate to stream the data to your Oracle Database. Golden Gate supports "zero downtime" migration. Source Database Oracle Additionally to the options ment... | 0 | 1 | 1,505 | 2016-05-19T16:35:47.600 | database_errors | dba.stackexchange.com | |
905,412 | Teamspeak 3 Database Error | I am working on a project for a 'redudant' teamspeak server wtih aws. Ive got most of what I need done, however I'm running into a snag. Teamspeak A is the primary server, and is running fine. I need to copy the database from server A to server B. I'm doing this via S3 and a the aws CLI. Great, On server two, I replace... | My issue was i was using the sqlite .dump command, and that was changing the format of the file! | -3 | 0 | 363 | 2018-03-31T03:12:14.060 | infrastructure | serverfault.com | |
259,551 | Performance of Polybase | We've been experimenting with Polybase on a SQL Server 2019 (CU2) box, using SQL Server external data sources and the performance has not been good - in most cases a 1400% increase. In each case all of the tables/views we're querying are from external tables pointing at the same external data source. We've tried both r... | I'll work from the assumption that all of the tables listed in the query above are external tables pointing to the same external data source. With that in mind, here are a few considerations. Distributed Requests There are two DMVs which will provide a bit more information than what you have currently: [CODE] and [CODE... | 6 | 6 | 4,299 | 2020-02-12T19:30:42.960 | warehouse_errors | dba.stackexchange.com | |
393,538 | How is there no hit in performance with MongoDB's new FLE? | MongoDB recently announced their new field-level-encryption method for helping tackle DB breaches. ( https://www.wired.com/story/field-level-encryption-databases-mongobd/ ) In other articles it is covered in some more technical detail ( https://www.csoonline.com/article/3403676/new-mongodb-field-level-encryption-can-he... | As explained in the links you provided, the encryption/decryption is done on the client side and the server only sees the encrypted values. There is no performance impact on the server, because the hard work of encryption/decryption is done on the client's machine and not on the server. The server just gets a blob of d... | 0 | 3 | 268 | 2019-06-19T09:06:34.740 | api_errors | softwareengineering.stackexchange.com | |
422,054 | Is sequential consistency equivalent to performing memory accesses by a processes in program order and performing each memory access atomically? | In Fundamentals of Parallel Multicore Architecture , by Yan Solihin, p304 defines sequential consistency memory model: Overall, we can express programmers’ implicit expectation of memory access ordering as: memory accesses coming out of a processor should be performed in program order , and each of them should be perfo... | No, your definition is not quite equivalent to the definition of sequential consistency but would be closer to strict consistency. There are two relevant aspects: (a) there are multiple processors/processes involved, and (b) they only have to behave as if they were being executed in a total order. The atomicity is not ... | 2 | 4 | 377 | 2021-02-09T13:13:18.333 | api_errors | softwareengineering.stackexchange.com | |
886,579 | disable rsh login on sshd server | I have a machine 192.168.110.170, and I can login with rsh usrname@192.168.110.170 at another machine 192.168.110.169. When login, command [CODE] gives tcp 0 0 hostname:ssh 192.168.110.169:33551 ESTABLISHED the hostname above is the hostname of 192.168.110.170 It seems rsh connected to ssh server,my question is how to ... | You can't find anything in the sshd configuration because OpenSSHd does not do rsh. Most probably on your client [CODE] is a symlink to the [CODE] binary. [CODE] When running [CODE] you are actually doing an SSH connection. Another indication is the output of your [CODE] command, which shows that you are connected to t... | 0 | 1 | 1,033 | 2017-12-05T04:02:58.620 | api_errors | serverfault.com | |
412,909 | Gracefully handling failures in sequence of requests | I am designing architecture for service like pastebin.com. I plan to store user data on S3 storage and metadata with my own server. So whenever a user requests for some paste creation there are two steps to this: Store content in S3 Store metadata with local metadata db. I am thinking what would happen if step 1 succee... | There are three aspects of failure handling applying to your case: Informing the service user (important). Giving a failure response is the correct way to go. Normally, your user isn't interested in the details why the call failed, just the fact that it failed. That aspect is important and you already do it. Leaving th... | 0 | 4 | 129 | 2020-07-20T10:58:12.817 | api_errors | softwareengineering.stackexchange.com | |
1,041,775 | HAProxy caches connection error? | We have a backend service currently served in front of a HAProxy proxy server for load balancing. When we shut down the backend service for maintenance, client connecting to the HAProxy is receiving [CODE] error, which is expected. However when the backend service is up, the client continue to receive the 504 status co... | This can happen if caching-related headers such as [CODE] are set blindly, irrespective of whether HAProxy is returning content or an error to the client. What happens if the client's cache/site data is cleared? Look at the headers being returned to the browser, e.g. using developer mode on Firefox or Chrome. If HAProx... | 0 | 0 | 378 | 2020-11-09T04:35:19.180 | database_errors | serverfault.com | |
268,764 | Planning Azure SQL Server | I've been tasked to prepare Azure SQL database deployment plan and I am struggling with it... I've been given following information: 2 million transactions will arrive to database daily throughout the day (~278 tr/sec on average). Transactions will arrive from 1000 different locations (onprem SQL Servers generating 200... | Easy! Use the Azure SQL Database DTU Calculator : Download the PowerShell script on your server Run [CODE] and let it run for a few minutes On the web page enter the number of cores that your server is using Stop the PowerShell script and upload the .CSV file that is now on the C:\ root | 1 | 0 | 77 | 2020-06-08T16:34:48.937 | database_errors | dba.stackexchange.com | |
202,382 | can I combine foreign key with primary key in `id` column in 1 table? | Here is the sample [CODE] This is the output that what I want [CODE] I want to save [CODE] like 1505-A001 (combining 2 Primary key in 1 column on HTML view)in fruit output. So, when I call it said like that. Combining 2 data on that output separate with [CODE] between [CODE] and [CODE] ? | It's not entirely clear what you're asking, and your SQL statements don't work, but assuming you mean something like this: [CODE] And data such as: [CODE] Then you can get the sort of output you indicated with: [CODE] Or, to get exactly the same output: [CODE] Note that instead of [CODE] you can use [CODE] which execut... | -4 | 0 | 960 | 2018-03-27T08:45:23.567 | warehouse_errors | dba.stackexchange.com | |
30,057 | How much configurability to give to users regarding concurrency? | This question is a narrowing-down of these related questions: How much effort should we spend to programming for multiple cores? Concurrency: How do you approach the design and debug the implementation? Given that each user's computers may have different performance characteristics with respect to calculations, memory,... | You never want to expose average users to the internal guts of how your application works--especially if you are supporting it. The BeOS used to ship with a utility that would allow you to turn off a processor (this is before multicore processors) just to see the impact on performance. And yes, you could turn off all t... | 4 | 3 | 165 | 2010-12-26T05:03:42.667 | api_errors | softwareengineering.stackexchange.com | |
873,995 | stunnel - certificate verification | I have stunnel to provide SSL for Redis. I have the following configuration: [CODE] I generate all of the keys and certificates with openssl: [CODE] Then I am generating key via [CODE] Then I am generating csr via [CODE] . Then I am generating signed certificate via [CODE] with [CODE] and [CODE] pointing to [CODE] and ... | [CODE] Your client can't validate the CA's certificate. So either store it in the system's certificate store or configure your client to accept it. Do the same on the server. | 1 | 1 | 6,935 | 2017-09-16T13:09:18.827 | database_errors | serverfault.com | |
382,890 | Load files depending on browser or write workarounds within the file? | I'm writing up this website running under IIS with .NET Core. I developed most of the site with minimal use of JS so that the server will be doing most of the work (and thankfully so because of the issue I'm having). One of my functions calls the Javascript [CODE] which is not supported on IE11. There are workarounds p... | Generally spoken, use feature detection for the things you want to implement or use instead of browser detection, feature detection will work better and more general, because you check, if a browser is able to have feature x or not, so your code is not bound to any browser. In this specific case I would recommend to yo... | 0 | 0 | 83 | 2018-12-12T14:27:04.957 | api_errors | softwareengineering.stackexchange.com | |
41,751 | How can I get this query to use it's index? | Queries matching this query below shows up in the slow log (with different contentVersionId & modifiedDateTime). As I don't really know what I'm doing I tried adding indexes to all columns in the WHERE clause (on at a time) but it the explain still showed [CODE] not [CODE] as I was expecting. Am I wrong in assuming [CO... | Conditions with [CODE] are harder for the optimizer than conditions with [CODE] only. Two or more range conditions ( [CODE] , [CODE] , [CODE] , [CODE] , [CODE] , [CODE] ) are harder than conditions with equality only or with only one range. Your query has both the above difficulties. Noticing that it is equivalent to t... | 4 | 3 | 101 | 2013-05-08T11:19:32.983 | database_errors | dba.stackexchange.com | |
342,156 | Can I use some GPL code in LGPL project? | Well, recently I found a problem about licensing. I have an open source project on GitHub, recently I need some codes which using GNU GPL, but my project is using GNU LGPL, so that's the problem. So how can I use these code? I don't want to change my license. Ask for permission from the original developpers or? | The combination of GPL code and LGPL code must be licensed under the GPL. If you want to use that code, you'll have to change your license, or refrain from using it. If the other project would want their code to be used in LGPL projects, they'd have licensed it under the LGPL – I doubt they'll give you special permissi... | 7 | 14 | 2,910 | 2017-02-13T12:43:43.493 | api_errors | softwareengineering.stackexchange.com | |
199,960 | ISP Bonding with outgoing VPN and QOS - hardware, software? | My company has an office that is... at the end of a slow cable balsed link (6mbit / 0,5mbit up) with no real chance to get it faster (outskirts of the city, we tried). We may have an ugprade coming in half a year... but until then we can have 2-3 f the same link. Now, I am looking for a solution that allows me to: Bond... | You might take a look at MLPPP. | 0 | 0 | 409 | 2010-11-09T17:19:22.390 | infrastructure | serverfault.com | |
51,215 | How to script all permissions on a schema | SQL management studio allows to create scripts for all db objects, however I so far couldn't find a way to correctly script a schema or user. The permissions of a user on a schema are not included in the script that is created. Did I make something wrong or is MSFT her a bit sloppy ? | Your friend is [CODE] to check/script out permisssions. Below is the script that I am using when doing a refresh of PROD on DEV or UAT server. I will script out before hand all the permissions and after the restore I will just run the script. [CODE] | 10 | 13 | 28,788 | 2013-10-08T15:37:36.260 | warehouse_errors | dba.stackexchange.com | |
437,896 | Trying to implement a "password vault"-like solution for connection strings | I started to work on a 16 years old .net framework app that didnt receive any love for a decade and I have some time to "put it up to standards". One of the things that ruffle my feathers is the direct connection between a desktop application on end-user workstation and the database. In the future, I will move business... | Since I will have to expose an endpoint to retrieve the key This seems worse. While you may be sending the key over the network TLS-encrypted, there are ways to intercept that on the receiving machine, and once an attacker has got hold of a valid signature they can replay it. Doing this properly in a way that actually ... | 0 | 2 | 94 | 2022-04-07T15:32:34.967 | api_errors | softwareengineering.stackexchange.com | |
34,955 | SQL Database Structure for RESTful API | I am creating a RESTful API. I am struggling to decide on the best way to design my database tables around my resources. Initially, I though a table per resource would be a good way to go, but I'm now worried that this will result in exponentially bigger tables the further down the resource chain you go. For example, i... | I am struggling to decide on the best way to design my database tables around my resources. Don't. Design your API according to RESTful principes , design your database according to normalisation principles . One does not need to impact upon the other. Your database should not contain a [CODE] table, it should contain ... | 11 | 31 | 7,296 | 2013-02-18T15:21:25.230 | warehouse_errors | dba.stackexchange.com | |
489,889 | WebSphere (WAS) Resending Threads | I work in a large enterprise IT shop, and we are running our Java applications on WebSphere's application server. We have observed a behavior that I want to bring to an end: If a thread times out --- most notably while making an RMI call --- the application server appears to respawn the thread and send it again, at lea... | We contacted IBM support and they were unable to answer this question. After performing additional research in IBM's documentation, we realized this is being caused by the HTTP plugin, which had a default setting added with the move to WebSphere 7: PostBufferSize. This behavior (resending threads) is potentially very h... | 0 | 0 | 439 | 2013-03-21T00:33:56.293 | infrastructure | serverfault.com | |
888,623 | How to enable JMX on elastic beanstalk running amazon linux tomcat8 | I have to enable the following configuration for tomcat running in elastic beanstalk environment [CODE] I have absolutely no idea where I have to make these changes. [CODE] I believe elastic beanstalk create different set of folder structure for tomcat8 [CODE] My Issue is resolved following this link https://bobmarksbl... | The solution is a lot simpler than I thought. To enable JMX in AWS Elastic Beanstalk you must add JVM command line configuration -> [CODE] in text box [CODE] It will automatically trigger the changes and will update the servers, now in a security group (assigned to your instances), you must allow this port 9000. Now yo... | 3 | 1 | 2,104 | 2017-12-18T08:39:48.423 | database_errors | serverfault.com | |
792,679 | Dual-Homed EC2 Instance | I've been doing a bit of deep-diving into AWS for hosting a project I am working on, so far from what I can see it has everything I could want for, except for one thing. I've been trying to launch an instance that has a leg in two different logical networks. One leg in network A (10.32.0.0/22) and one leg in network B ... | You can only create another elastic network interface inside the same VPC. Can you give us more of a big picture on what you're trying to achieve, we may be able to give you another way to address your issue. | 0 | 0 | 616 | 2016-07-29T10:47:28.947 | infrastructure | serverfault.com | |
956,455 | Why is Kubernetes (AWS EKS) registering all workers to the Load Balancer? | I want to know whether this is a default behaviour or something wrong with my setup. I have 150 workers running on kubernetes. I made a set of kubernetes workers (10 workers) run only a specific deployment using nodeSelector, I created a service (type=LoadBalancer) for it, when the Load Balancer was created all the 150... | This is normal. When kubernetes configures the load balancer, it configures all of the nodes to be part of the backend service. The load balancer doesn't know or care which nodes are running which pods. You can think of it as routing traffic to the cluster (as a whole) rather than to particular workloads. Once the traf... | 2 | 1 | 169 | 2019-03-02T17:25:14.630 | pipeline_ops | serverfault.com | |
131,967 | MySQL Backup Strategy | We are running the backup from the replication server and it is working good, since we are not facing any other issues, some information for better understanding our strategy: [CODE] Actually we are in need to store the back up of 13 months but we have only 2 months. The data is growing around 6% in every month. We are... | 2 TB sounds too much for [CODE] . Did you try to restore a database from the dump? How much time does it take? For large databases I would suggest XtraBackup. Not only it's faster, especially when it comes to restoring but it also supports incremental backups. Weekly full copies sounds reasonable. For daily backups you... | 0 | 1 | 400 | 2016-03-11T14:01:07.937 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.