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 |
|---|---|---|---|---|---|---|---|---|---|---|
321,873 | New SQL 2022 Servers won't register SPN | I've just built 2 new Win/SQL 2022 Servers. Everything went ok, and I could connect with SSMS. I then changed both SQL engine services to use a domain acct (my standard practice), I can connect locally, but can no longer connect remotely via SSMS with the following error. The target principal name is incorrect. Cannot ... | Looks like it's something wrong with SPNs. You should create 4 SPNs for each SQL Server service account to suit for different Windows Authentication scenarios. Fully qualified domain name of the server with instance name. Fully qualified domain name of the server with instance port number. NetBIOS name of the server wi... | 1 | 2 | 4,012 | 2023-01-09T03:08:49.507 | api_errors | dba.stackexchange.com | |
433,477 | Supervisor VS cronjob | Actually I'm using supervisor to monitor a process and restart it when it stops for some reason. The problem is that in case of a supervisor crash the process stops get monitored. So I thought to schedule a cronjob to check supervisor is running, and eventually restart it. The next thing I'm considering is to get rid o... | Cron periodically calling a shell script to ensure a service is running is actually a pretty decent entry-level method for service monitoring on simple networks. Cron can check once per minute, so that may be good enough for the demands of your environment if downtimes of Supervisor, on the other hand, can handle the r... | 8 | 12 | 11,487 | 2012-09-30T21:03:32.477 | pipeline_ops | serverfault.com | |
76,806 | Spark: How to run PCA parallelized? Only one thread used | I use pySpark and set my configuration like following: [CODE] If I then run PCA: [CODE] Only one thread is active and therefore the computation takes a long time. How can I parallelize PCA in Spark? I run on a local machine and did not configure a cluster in the configs. Also I did not install the recommended ml packag... | According to the MLlib Linear Algebra Acceleration Guide documentation, LAPACK and related libraries need to be installed and configured corrected to get the full speed-up of Spark. Additionally, the documentation mentions that sometimes there might not be a speed-up. That could be a result in your case because of runn... | 2 | 0 | 250 | 2020-06-28T13:47:48.773 | spark_errors | datascience.stackexchange.com | |
163,620 | Alternatives to Xen for virtualization setup | I currently use Xen in production to run a number of Ubuntu VMs (Intrepid/Jaunty). I've got another server which I'd like to set up as a VM host to run more guest OSes, and am looking for the best options for our requirements: Ability to run 64-bit "modern" guest operating systems (especially Ubuntu Lucid) - we current... | KVM with virtio network and block devices managed via libvirt. Fits all your needs, has performance characteristics similar to Xen, and allows graphical management via e.g. virt-manager (which you can also use to manage Xen hosts, if desired). As host OS I would suggest Ubuntu Lucid, Debian Squeeze, or Debian Lenny wit... | 7 | 5 | 1,490 | 2010-07-24T00:21:23.400 | infrastructure | serverfault.com | |
126,245 | Are there any reasons not to cache an entire site permanently? | I am writing an uber simple blogging platform. The application reads a set of static files that are the articles in the blog, and serves them up. The only time any content on the site will change is when a new article is added, or an existing article is changed. I intend to load 100% of the content into the application... | "Are there any reasons not to do this?" Scalability. Sure, when you're using it now, the data is under a few MB. Will that always be the case? I don't think so. Especially if you expect other people to use this system. You're re-inventing the wheel. If the content is stored in files, you should just let Apache (or what... | 3 | 9 | 268 | 2011-12-21T05:37:25.680 | api_errors | softwareengineering.stackexchange.com | |
149,158 | Join to two tables | I have created three table using with the following code: [CODE] For a given Invoice (invoiceID), how am I am to query a list all it's Items (itemNames) and their corresponding price per unit, and the number of units (itemQuantity) invoiced? I've been trying this all night and got stumped. | [CODE] | 0 | 1 | 54 | 2016-09-08T21:27:48.377 | warehouse_errors | dba.stackexchange.com | |
363,224 | Adding a second VHD to a Hyper-V VM programatically or from the command line | I have been scripting the creation of my Hyper-V VMs with vbscript successfully for sometime now. All the technician has to do is run my script, select the type of server they are building (EG. a Web server, SQL server, etc) and all the appropriate virtual resources are allocated (so the RAM size, disk size etc will di... | There are 3 WMI objects you need to take care of when you create/modify a virtual harddisk in Hyper-V: Controller, Drive and VHD. Only Controller is automatically created with VM creation. To create a Drive object, you need to clone a hardDrive definition which is an Msvm_ResourceAllocationSettingData object, set its p... | 1 | 0 | 904 | 2012-02-23T23:26:53.317 | database_errors | serverfault.com | |
300,237 | cronjob not running | [CODE] Hi, the first job gets run every 5 minutes, the other doesnt seem to be getting run (there is no log file, no email error, nothing). I have to be doing something dumb... any ideas? It runs fine on the command line. Here is the shell script: [CODE] The log file hasnt been updated since the last time I ran it manu... | What about changing the cron line to: [CODE] | 0 | 1 | 189 | 2011-08-11T19:44:18.300 | infrastructure | serverfault.com | |
52,054 | xgboostclassifier prediction error after saving the model and restoring it | I have trained a xgboost model and during training, the prediction works fine. But if I stop the script and start a restoring script to restore and predict, then for the same test dataset I get every data classified into one class. The weird part is that, even with the first prediction, i restore the model as shown bel... | It's better to use joblib to save the model: [CODE] | 1 | 0 | 552 | 2019-05-16T07:54:07.787 | database_errors | datascience.stackexchange.com | |
726,903 | Exchange 2010 Public folder | I've been having a problem for the last few days with a client we have just started providing support for. Bit of history, client was hit with Cryptolocker virus, and through trying to restore everything (including paying the ransom!!!), previous support ended up moving their email to Office 365. Unfortunately I don't ... | How did you move the mailboxe/public folders back to on-prem? Do you also happen to know how they were migrated to O365 in the first place? I am assuming the users are now using their SBS2011 mailboxes. If you open the PF console from EMC, can you browse through the PF structure? CTRL+right click on the Outlook icon in... | 0 | 0 | 763 | 2015-10-05T20:51:21.307 | api_errors | serverfault.com | |
79,197 | Why does apache slow down overnight? | Greetings experts, On my dedicated CentOS 5.4 server, I configure apache with about a dozen virtual hosts. I test a few of 'em, each loads within about a second; fairly quick. Load average is less than 1. No problems. I'm running static HTML sites, one WordPress blog with MySQL 5.0... these are not high-bandwidth sites... | Based on your [CODE] output, I strongly suspect that your Apache processes are heavily buried in swap. The output of [CODE] will confirm (or refute) this hypothesis (run it when the machine is running slow). If the Apache processes aren't all actually serving requests (as shown by mod_status) you should tune the number... | 6 | 7 | 4,555 | 2009-10-28T18:40:47.393 | database_errors | serverfault.com | |
106,863 | SLES 10 Sp3 VMware tools error on install | I installed SUSE enterprise server 10 SP3 on a Esx 4 server The problem starts with the installation of vmware tools. "VmwareTools-4.0.0-193498.tar.gz" The tools wont start: Unable to start services for vmware tools Paravirtual ISCSI module: Failed Guest vmxnet fast network device: Failed. I fixed the guest vmxent ERRO... | Have you tried to use the Operating System Specific Packages supplied by vmware? http://www.vmware.com/download/packages.html I have much better luck installing the binary package via rug than building from the tar file. Give it a shot an see if it helps. | 0 | 1 | 1,621 | 2010-01-27T16:24:58.260 | infrastructure | serverfault.com | |
706,539 | How to rsync to remote machine with user1 for ssh and user2 as remote rsyncer? | UPDATE: it seems I have to use rsync modules. So I created a very simple rsyncd.conf in the home of user2 on the remote server with: [CODE] It does not work, but the problem seems another one. When I run [CODE] ssh connection is enstablished by user1 this time, but I get this error: [CODE] rsync path on both servers is... | UPDATE: Maybe it's possible using [CODE] or [CODE] ? I'll try monday. ANSWER: Ok, it seems it's not possible. Any workaround with other methods/tools are welcome. The last solution I found is to have an [CODE] file under user1 home like this: [CODE] and run from local server: [CODE] The error returned is [CODE] From [C... | 0 | 0 | 833 | 2015-07-17T13:12:25.470 | infrastructure | serverfault.com | |
102,724 | Why deep learning models still use RELU instead of SELU, as their activation function? | I am a trying to understand the SELU activation function and I was wondering why deep learning practitioners keep using RELU, with all its issues, instead of SELU, which enables a neural network to converge faster and internally normalizes each layer? | ReLU is quick to compute, and also easy to understand and explain. But I think people mainly use ReLU because everyone else does. The activation function doesn't make that much of a difference, and proving or disproving that requires adding yet another dimension of hyperparameter combinations to try. If the research is... | 13 | 9 | 7,945 | 2021-10-02T19:17:31.247 | data_quality | datascience.stackexchange.com | |
1,068,137 | Changing or updating the passphrase in gcp lamp vm | I am trying to download files from a particular folder from one of my vm's on gcp using the following command gcloud compute scp --recurse VM_NAME:REMOTE_DIR LOCAL_DIR After running the command the gcp terminal asks me for a passphrase. I enter the passphrase and get a message saying ERROR: (gcloud.compute.scp) [/usr/b... | You have an issue with a proper ssh-key authorization. You may actually try the [CODE] first but I'd advise to go through the answers and documentation first to understand what you're doing. I've found two answers for a similar questions that may help you: retrieving gcp passhprase scp exiting with error 1 Also have a ... | 0 | 1 | 427 | 2021-06-29T09:12:21.683 | infrastructure | serverfault.com | |
373,968 | Configuring error.log on Centos 6.5 with Cherokee 1.2.101 running PHP site | I have a problem configuring error log for virtual host serving PHP web aplication on our internal network. I was hoping to get output similar to Apache's but I get output like this: {'type': "error", 'time': "27/03/2012 16:37:59.270", 'title': "PHP Warning: mysql_close(): no MySQL-Link resource supplied in /var/www/ht... | right now, error logging cannot be configured. this is not uncommon amongst app's. the two (2) best options: 1.) using the system logger you will find cherokee using the 'user' facility - OR - 2.) just write it to a separate file such as 'cherokee.error'. then you can re-write it any way you want with a post-op app. if... | 0 | 0 | 73 | 2012-03-27T14:47:00.787 | database_errors | serverfault.com | |
1,024,549 | X11 configuration on Ubuntu 18.04. Worked on Ubuntu 16.04 | Here is a script which is run in cron for user1 who has sudo privileges [CODE] It worked fine on Ubuntu 16.04. When upgraded to 18:04, it gives the error: Invalid MIT-MAGIC-COOKIE-1 keygiblib error: Can't open X display. It is running, yeah? File .Xauthority is owned by user2, group owned by user1 and has permissions 6... | From the ArchWiki : Invalid MIT-MAGIC-COOKIE-1 key when trying to run a program as root That error means that only the current user has access to the X server. The solution is to give access to root: [CODE] That line can also be used to give access to X to a different user than root. So you probably need to execute on ... | 1 | 1 | 628 | 2020-07-08T18:38:44.543 | infrastructure | serverfault.com | |
252,928 | How to get more physical details when executing an SQL query? | I want to get some physical features about a SQL query execution with PostgreSQL, like Read/write page accesses I/O operations Response time Sequential I/O throughput rate Deadlocks Pages scanned Queries ratio Hit ratio, Pages read, Logging, Ratio of using indexes Rows selected , Average sort time, Number of locks held... | You should use [CODE] . Modify [CODE] as follows: [CODE] and restart PostgreSQL. Then [CODE] and find all the data you want in the view [CODE] . | 2 | 4 | 133 | 2019-11-11T00:18:52.133 | database_errors | dba.stackexchange.com | |
269,691 | How to remove references to performance_schema.user_variables_by_thread in mysql 5.6? | I have a Jira 6.4.7 instance running on MySQL 5.6.44. I'm in the progress of updating the Jira instance to 7.0.5, which still supports MySQL 5.6. I accidentally hooked up a newer Jira 7.0.5 to the same database, wich inserted [CODE] tables. Jira 7.0.5 probably thought it was running with >= mysql 5.7. I immediately sto... | The issue was using MySQLWorkbench 8.0.16 and mysqldump 8.0.19 which are both looking for [CODE] tables in MySQL 5.6, which only exist starting with MySQL 5.7. Updating MySQLWorkbench to 8.0.20 and using mysqldump with the flag [CODE] made the errors go away. | 0 | 0 | 875 | 2020-06-23T06:23:29.003 | database_errors | dba.stackexchange.com | |
144,010 | How can I get started using TDD to code some simple functionality? | I basically have the gist of TDD. I'm sold that it's useful and I've got a reasonable command of the MSTEST framework. However, to date I have not been able to graduate to using it as a primary development method. Mostly, I use it as a surrogate for writing console apps as test drivers (my traditional approach). The mo... | Starting with this concept: 1) Start with the behavior that you desire. Write a test for it. See test fail. 2) Write enough code to get the test to pass. See all tests pass. 3) Look for redundant / sloppy code -> refactor. See tests still pass. Goto 1 So on #1, let's say that you want to create a new command (I'm stret... | 8 | 10 | 1,503 | 2012-04-11T21:23:04.517 | api_errors | softwareengineering.stackexchange.com | |
257,257 | @SuppressWarnings in generic array declaration | While doing a coding test, I ran into a problem where I need to initialize an array of generic type in Java. While trying to figure out how to do that, I looked at this Stack Overflow question and it requires that I suppress a warning which doesn't seem like a good practice, and might have other type safety issues. For... | [CODE] is sometimes correct and unavoidable in well-written code. Creating an array of generic types is one case. If you can work around it by using a [CODE] or [CODE] of generics then I'd suggest that, but if only an array will do, then there's nothing you can do. Casting to a generic type is another similar case. Gen... | 6 | 8 | 5,522 | 2014-09-26T00:26:18.520 | api_errors | softwareengineering.stackexchange.com | |
27,529 | Selenium Python Action Move to doesn't work on hover element | Hi I need to click hover element in Selenium Python . I tried to use [CODE] chains and then move to element but it didn't work for me. My Selenium code Snippet: [CODE] In the picture you can see how it looks in html code. | I see you are trying to use [CODE] , which currently isn't supported in the marionette/gecko driver. You can track the implementation on their GitHub . moveTo is not part of the W3C WebDriver spec, it would be a good idea to move to the actions API to support modern firefox. | 1 | 2 | 3,140 | 2017-05-31T05:33:42.113 | data_quality | sqa.stackexchange.com | |
1,113,750 | nginx doesn't properly route to webapp and omitting path | I am currently configuring a nginx reverse proxy. The docker instance of nextcloud is available on Port [CODE] [CODE] however when I try to navigateto the url, I have the problem, that the stylesheets etc. are not available under [CODE] instead they are getting fetched from [CODE] . Removing the trailing slash from [CO... | [CODE] | 0 | 0 | 51 | 2022-10-22T15:47:44.007 | pipeline_ops | serverfault.com | |
341,023 | nginx as reverse proxy with upstream SSL | I'm building a proxy for an internal API to allow clients to connect without having to have the self-signed certificates installed. Clients (built, owned and used only internally) will connect over SSL to the nginx box, where I'm using XSendfile to validate credentials at the application level (a rails app). If the cre... | For anyone that comes across this in the future, I ended up not using nginx for this. Instead, I ended up using stunnel in "client mode". Very easy to set up, and does exactly what I need. | 44 | 5 | 170,122 | 2011-12-14T20:50:31.620 | infrastructure | serverfault.com | |
254,952 | Should a inherited table have a new surrogate key, or just use parent table's key? | I am modeling some things with an "is a" relationship (aka inheritance), and there were two ways to go about it in regards to the inherited table's primary key and foreign key pointing back to the parent table: Strategy #1 was to always create a new surrogate key on each inherited table, and then store the reference to... | Strategy #2 has a name. It is called Shared Primary Key. It it widely used with is a type relationships. There is a tag over in Stackoverflow that groups question related to this concept. See link | 2 | 1 | 363 | 2019-12-05T22:01:19.493 | database_errors | dba.stackexchange.com | |
314,362 | Should I check for software on a users machine via a web browser? | There has been a discussion recently (with my colleagues) on whether or not checks should be performed on client machines to check for specific software, within a web based platform, mainly because we have some requirements for certain user actions and to help diagnose certain issues we could log whether or not they ac... | These checks invariably fail. Try to avoid tying your application to specific software, browsers or versions. Code to standards. As it appears you are Microsoft based, you may need to code around issues with different Internet Explorer versions. Try to keep these to a minimum. From a security standpoint, you don't want... | 1 | 5 | 1,712 | 2016-03-31T13:36:03.877 | api_errors | softwareengineering.stackexchange.com | |
739,940 | Crons keeps sending to root | My [CODE] keeps sending emails to root user email. I have already tried to fix the problem by editing the followings: In [CODE] edited the following: [CODE] to [CODE] and restarted service by running [CODE] . But cron results are still sent to root email address and not to the specified email address in crontab. How ca... | Are you sure your system can send mail outside? Try with the [CODE] command: [CODE] If you receive an e-mail, then check if the [CODE] file contains anything that aliases [CODE] to root. If you don't receive an e-mail, check in the spam folder. If there's nothing there, check your mailer logs in [CODE] . There will be ... | -1 | 0 | 203 | 2015-12-01T09:27:57.620 | infrastructure | serverfault.com | |
382,892 | Proper Connection Pool Use | I'm confused as to how to properly interact with my Postgres database throughout the typical user experience on my web app. I'm seeking clarification on the most efficient method of communicating with the database, without over-communicating (spamming). Currently I use [CODE] to connect to my database whenever needed, ... | If a user types in their credentials and then clicks "Login" on the login page, the database is queried to validate the credentials. What if the user clicks the button 100 times? There are a number of ways to address this. I wonder though if this is something you should really be concerned about. 100 requests isn't a w... | 1 | 1 | 160 | 2018-12-12T16:09:18.657 | database_errors | softwareengineering.stackexchange.com | |
1,110,159 | bind9 not recursing when configured to do so | A new bind server is not returning recursive domains. What I have found so far: When a client queries the server, I can see the recursive queries sent to the forwarders enter and leave using tcpdump, and also the root servers being queried. I have used a known good configuration, so the problem must be specific to the ... | My logging was set to ignore lame server errors. I set my lame server logging to the audit channel to see the errors: [CODE] I was then seeing errors like this: [CODE] I switched off DNSSEC vailidation by setting the options [CODE] & [CODE] . I then re-enabed dnssec, restarted the server and did a couple of lookups, an... | 0 | 0 | 946 | 2022-09-07T08:45:19.687 | infrastructure | serverfault.com | |
319,823 | Why would INSERT, REPLACE or UPDATE statements sometimes take over 1 second to execute? | I have a very good server (great CPU, huge RAM, NVMe) with a huge InnoDB buffer pool that's not full yet. The website is very write-intensive, but it runs fast enough ( [CODE] queries well optimized, good indexes where possible, etc). However, since I've reduced [CODE] to just 1, I've been finding some queries which I'... | In most situations, [CODE] can and should be replaced by [CODE] . [CODE] is a combo of a [CODE] and an [CODE] . If an auto_increment id is being used, it always burns a value, leading the ids rising rapidly. Where practical, "batch" [CODE] . 100 rows can be inserted in a single batch 10 times as fast as one-row-at-a-ti... | 2 | 0 | 425 | 2022-11-17T08:03:27.820 | database_errors | dba.stackexchange.com | |
533,978 | Get IP or MAC addresses of Windows Multipoint Server 2012 stations? | Is it possible to programmatically retrieve the IP or MAC address of a station assigned to a Windows MultiPoint Server 2012 host, using PowerShell or any other .NET or Windows API? Background: I'm developing a application to help set up USB-over-Ethernet zero clients in a WMS 2012 setup, bridging the PowerShell "WmsCmd... | Take a look in the registry under HKLM\software\microsoft\windows multipoint server\stations You have what looks live a list of station Ids with the corresponding MAC address of the client as part of the stationhub path | 1 | 0 | 1,796 | 2013-08-26T21:50:47.240 | infrastructure | serverfault.com | |
819,739 | Some services in services.msc are not listed with sc query | Recently, my services.msc app has become very unresponsive and slow. Takes a few minutes to just open it. There are a number of issues with the services that are listed, but for one example I'll use AppFabricCachingService. AppFabricCachingService is listed in services.msc. But if I do a [CODE] I get [CODE] The AppFabr... | Turns out, I had previously connected my services.msc to another machine (rather than my local machine). When I changed the connection to the remote machine, I didn't think that it would be sticky and persist after closing and reopening the services.msc app. And enough time passed between reopening services.msc that I ... | 0 | 1 | 3,931 | 2016-12-09T08:26:43.097 | infrastructure | serverfault.com | |
882,929 | Ubuntu 16.04 can't rebuild mySQL | I am trying to do a clean reinstall of mySQL for various reasons. I have followed several posts here, and on stack exchange, particularly this ask ubuntu post , however, every time I go through the steps I end at the same result. [CODE] I am absolutely stumped at this point... update: [CODE] | Try to completely clear all mysql packages out [CODE] Then re-install | 2 | 2 | 3,862 | 2017-11-10T22:35:45.110 | database_errors | serverfault.com | |
846,105 | Fatal error: Cannot redeclare class OAuthException in /usr/share/php/OAuth.php on line 8 | I've got a Debian web server running Squeeze. I will be updating in the coming months but in the meantime I'm getting an error: [CODE] The error is a result of installing a WordPress module that uses the same classes as the file at /usr/share/php/OAuth.php. In an effort to fix the issue, I tried wrapping all the classe... | If you use this library with OAuth included in PHP you get the following error: PHP Fatal error: Cannot redeclare class OAuthException in OAuth.php on line 8 Please wrap it like that: [CODE] | 0 | 1 | 259 | 2017-04-23T19:08:40.710 | api_errors | serverfault.com | |
1,050,773 | What am I doing wrong to receive Loopback and REST API WordPress Errors? | I've taken a dive into self hosting and learning along the way. I have a decent understanding of most of it. It only took me a day to cobble together a "working" NGINX, MySQL, PHP, phpMyAdmin and SSL. I am doing this purely for the educational purposes and fun. A playground if you will. Version information is here: . S... | I have solved it. It is two part. Running [CODE] returned a failure with my initial conf. After making some changes, I managed to get a 200. Those changes are to the wordpress.conf file: [CODE] The crucial part here is [CODE] for [CODE] which I did not have before. My DNS records don't require [CODE] . If I remove [COD... | 1 | 1 | 1,209 | 2021-01-22T05:35:00.783 | database_errors | serverfault.com | |
343,004 | Shutting an EC2 instance down locally (on the instance)? | edit : this seems to be a problem specifically with the AMI that I am trying to shut down. Other AMIs politely shut down with the "sudo poweroff" command. The goal is for an EC2 instance to shut itself down. All my instances are Ubuntu 10.10. I used to be able to execute the command "sudo poweroff -n -f" and the instan... | By default, when you shutdown/halt an EBS boot instance it is simply moved to the "stopped" state. This leave the instance available for restarting. You are no longer paying for instance hours, but you will continue paying a minimal charge for the EBS volume(s). You can change this behavior so that a shutdown/halt will... | 8 | 5 | 10,046 | 2011-12-21T02:46:26.273 | infrastructure | serverfault.com | |
145,645 | ASA5500 series logging for management interface in transparent mode | i have a cisco asa5520 in transparent mode. the interface is on the same subnet as some windows machines, which are generating a lot of broadcast traffic that is filling up the logs. is there any way to have it not log that its blocking those packets? its a bunch of these messages: "through-the-device packet to from ma... | Found it - in syslog setup theres a list of syslog IDs. for this particular alert the ID number is 418001. open that, click suppress, no more message in the log! | 1 | 0 | 758 | 2010-05-26T21:31:41.143 | api_errors | serverfault.com | |
502,626 | need to configure BIND server query logging with versions | I've been trying to get BIND server query logging working, creating 3 versions, max 100mb each. The system is SUSE SLES 11. I have found numerous how to articles on the web but none of them do anything other than break the DNS server. The machine is a virtualbox guest so I can keep going back to an unmodified snapshot ... | Does anyone know how to get DNS Query logs, in a rotation of 3 files on a SLES 11 BIND server working? It doesn't seem like it should be anywhere near this much of a hassle. It shouldn't be a hassle -- the syntax is straightforward and well-exercised (thousands and thousands of nameserver admins have use it.) It's theo... | 1 | 1 | 3,912 | 2013-04-25T17:22:03.907 | database_errors | serverfault.com | |
299,271 | Create Table in MySQL with Exactly One not NULL value in a combination of columns | I have 3 tables namely: 1. department_heads DepartmentID StaffID 2. sub_department_heads SubDepartmentID StaffID 3. branch_managers BranchID StaffID Now what I want is not have staff being a department head as well as a branch manager or sub department head and vise verse. Staff can only belong in only one table. Kindl... | Combine 3 tables to one. For example (schematically) [CODE] | -2 | 1 | 35 | 2021-09-08T17:42:03.363 | database_errors | dba.stackexchange.com | |
10,620 | Rewriting a query | I have a database with the following structure (star schema): [CODE] Structure of each dimension table is: [CODE] My fact table is huge with several billion rows and the dimension tables contain several thousand rows. I use a tool to write queries (tableausoftware.com), this means that I cannot write my queries intelli... | Indexes are not going to help you. [CODE] has only 53 rows, so an index will not be faster than a sequential table scan. And as you process the whole [CODE] anyway, a sequential table scan will be the fastest possible way here, too. There is just no room for optimization in your query . Of course all the basic stuff fo... | 2 | 1 | 646 | 2012-01-13T10:32:49.517 | bi_errors | dba.stackexchange.com | |
432,870 | using screen in another user with su | So, if i do this: [CODE] It won't work. The screen command is working if excecuted from root, so there is no problem there. If I do: [CODE] I get: [CODE] What is wrong? EDIT: I've been searching around and can't seem to find any good solution to this problem. I'll be going for the next best thing: running the screens a... | The reason is that when you login, you get a tty which in your case is currently called /dev/pts/0. You are the only one with access to that tty, otherwise other users could mess with your session while you're working. (Root, of course, also has access, because root always has access to everything.) When you su to some... | 6 | 5 | 7,354 | 2012-09-28T09:05:25.283 | infrastructure | serverfault.com | |
185,118 | Does javascript support numerically indexed arrays with a more optimized algorithm than an associative array? | I know that Python, Perl, Java, Lua and obviously C (as it's the only array that's in ANSI standard afaik) support faster looking of numerically indexed arrays than doing a hash lookup or anything like that. Does Javascript also? As an example in code of what I mean, in the case of Perl: [CODE] is slower than: [CODE] o... | JavaScript does not have any explicit way to specify that you want a normal array rather than an object--everything is an object by default. However, modern JavaScript engines have aggressive optimizations for objects that act like arrays. ( Here is a good overview of what V8 does, for example.) Modern JavaScript engin... | 7 | 7 | 1,330 | 2013-01-29T06:13:20.073 | database_errors | softwareengineering.stackexchange.com | |
617,478 | Tested kickstart file baulks in Centos 7 | Tried kickstarting CENTOS 7 and got an unexpected message. The kickstart file has worked with 5 and 6 prior. Something has changed. Has anyone run into this? [CODE] Kickstart [CODE] Found in the logs: [CODE] | I guess the error messages are caused by a typo: [CODE] should be [CODE] By the way, I think you should add "@core" to the "%packages" section too; it includes a minimal set of very essential RPMs. | 1 | 4 | 6,651 | 2014-08-02T21:56:16.940 | infrastructure | serverfault.com | |
474,928 | Create sub domain configuration in IIS | I have a domain ABC.COM and IP 1.2.3.4 THe ABC.COm is purchased from namecheap and in the configuration it says A 1.2.3.4 @ 1.2.3.4 And my server which is with IP 1.2.3.4 has a website in port 80, the question here is 1. The server uses IIS to host website, in the binding the Hostname field is empty, if I try to input ... | ABC.COM should be available in the context you provided. Maybe you need to add a firewall exception for port 80. If the hostname is empty, your website will serve requests for any domain/subdomain that points to the IP configured for the website. Further more, it will serve requests for any of the server's public IPs i... | 1 | 1 | 938 | 2013-02-03T12:19:24.920 | infrastructure | serverfault.com | |
37,673 | Are your projects completed on time or past the deadline? | Are your projects completed on time? If not, what problems cause you to miss deadlines? How can they be overcome? Do your clients understand them? | Minimize and Negotiate When developing software problems will arise, generally having protocols to deal with this situations helps minimize their effect. But, you should always have in mind that sometimes delays cant be avoided, there is where the Negotiation comes around. Talk to your client and let him know that you ... | 3 | 2 | 238 | 2011-01-18T06:37:04.150 | api_errors | softwareengineering.stackexchange.com | |
307,061 | Does creating a new CNAME replace the old? | I have a CNAME record: [CODE] which was registered through Limelight. Do I need to go back to Limelight release this record? Or if I just generate a new CNAME for "cdn.example.com" through my domain registrar will it get replaced automatically? My objective is to alias "cdn.example.com" directly to an EC2 server for th... | You need to replace it in your primary dns server. If that server is hosted by Limelight then that's where you need to change it. If your domain was transferred to your new registrar and their server is now the primary for your domain then that's where you need to change it. EDIT To answer the question in your edit, ye... | 1 | 2 | 326 | 2011-09-01T00:44:33.840 | infrastructure | serverfault.com | |
230,180 | how to automatically mount ~/Private using ecryptfs when logging in via ssh pubkey | Raionale: I want to be able to automatically make backups to a remote machine, which will be encrypted with ecryptfs. The title says it all: I set up ecryptfs-utils on my Debian Squeeze box, and set up one user to use it via [CODE] . When I log in via SSH using password authentication, the ~/Private directory automatic... | You will have to either store the password to disk, or provide it when SSH'ing. There is no other reliable way. ( [CODE] does not know your private key, it can only ask the client for proof that you have it.) | 3 | 2 | 1,715 | 2011-02-02T14:51:26.360 | database_errors | serverfault.com | |
430,953 | Symantec Endpoint Protection ( SEP / SEPM ) traffic volume management | My organization has a large deployment of Symantec Endpoint Protection (SEP) (~20k clients) with a single SEPM instance running in an ESX VM. We do have many remote clients designated as Group Update Providers (GUPs) where possible. What our sysadmins have reported is that the SEP software does not have any native way ... | I think your best solution is to configure your remote clients to either: only pull updates from the GUPs in each remote site, throttling the bandwidth on the GUP using the LiveUpdate policy settings or just let your remote clients go directly to Symantec for updates and not to your SEPM server This article would help ... | 8 | 2 | 3,923 | 2012-09-22T15:39:52.617 | pipeline_ops | serverfault.com | |
41,427 | How expected condition 'isClickable' works in Protractor | I am trying to click a button as defined below: [CODE] If I try just click, everything works fine. The button gets clicked: [CODE] I am getting an element not clickable exception when using the code below though: [CODE] Could someone explain why the expected condition is not able to tell that the element is clickable? | Can you try one of these and let us know. Since you are unable to click on the element. use - [CODE] or use actions command , move to the button and then click (I know this sounds weird, but please try once). Some reference URL: https://www.protractortest.org/#/api?view=webdriver.WebDriver.prototype.executeScript http:... | 7 | 1 | 820 | 2019-11-04T10:57:18.250 | data_quality | sqa.stackexchange.com | |
441,669 | DHCP/DNS/Windows server 2008 / w7 / xp internet issue | Title might be weird but I wanted to include all the factors involved. I have a windows server 2008 r2 in a virtual network which has 2 networkadapters The settings are the following [CODE] and [CODE] With these settings I was able to connect to the domain called [CODE] . I had internet at this point. Now the next I di... | As stated in comment by Pauska: [CODE] This was the problem. You cannot use NAT on a server which runs DHCP and a domain controller. I've fixed this issue by seperating DHCP and NAT to its own server. So I changed the "all-in-one" server to 1 server with DHCP and NAT into the domain which was created by the other serve... | 0 | 0 | 731 | 2012-10-24T07:19:45.900 | infrastructure | serverfault.com | |
562,905 | Unexpected anonymous login in Windows security logs | I've got a VPS server account for some projects and was just troubleshooting an issue earlier when the following turned up in the logs (among the torrent of bots trying to guess account details...). I'm rather surprised at this; the guest account is clearly disabled in Windows' user control panel. Any ideas what might ... | First, [CODE] is not the Guest account, so let's not conflate the two. They're separate things. Unless your server is grossly misconfigured, these events are probably harmless. For instance, Windows will never let someone log on interactively to the computer with an anonymous logon. There are certain little bits of inf... | 6 | 9 | 60,453 | 2013-12-21T15:40:32.557 | database_errors | serverfault.com | |
197,921 | Row estimates always too low | I have a query which involves a full-text search like this: [CODE] This generates two main plans, one is very fast in all cases, the other is very slow in most cases. I have experimented with this query such that the FT search is not included and what I found is that the row estimates are always way lower than they sho... | (summarizing my comments and putting as answer) A query rewrite will solve the issue of getting low row estimates. As Joe Chang explains in his blog post Query Optimizer Gone Wild - Full-Text CONTAINS is "a predicte used in a WHERE clause" per Microsoft documentation, while CONTAINSTABLE acts as a table. You get a much... | 6 | 4 | 1,490 | 2018-02-14T15:25:52.310 | database_errors | dba.stackexchange.com | |
965,112 | How to fetch ssh keys from servers? | I need to login to a host via ssh, get a keyfile, close the connection and then use the key to login without password on several machines. The underlying problem is that I need to perform tests on a couple of servers via ssh. I have already successfully written code using paramiko that does that with regular login. But... | Your ssh key was held in memory by your ssh agent. Deleting it won't prevent the agent from continuing to use it. You would need to stop the agent (usually by logging out of your workstation) first. | 2 | 2 | 1,057 | 2019-04-29T14:26:40.510 | infrastructure | serverfault.com | |
679,598 | Is there any reason *not* to run HAProxy in a Docker container? | Will performance and/or stability suffer if I run HAProxy (or Nginx) in a container vs installing it directly on the host? | There is a good SO answer at https://stackoverflow.com/a/26149994/684908 on the subject of performance. The tl;dr is that the NAT (port-forwarding in some cases) introduces some latency. Though, it is likely negligible at smaller scales. I run HAProxy as a container in production with port-forwarding through the Docker... | 5 | 7 | 4,107 | 2015-03-31T15:28:54.517 | pipeline_ops | serverfault.com | |
1,088,128 | How to view and interact with terminal logs generated by AWS ECS | How do people view and interact with terminal logs generated by AWS ECS? I've been using the ECS task view so far, but I feel the UX is bad and the Cloudwatch UI has similar problems. How do others read and interact with their logs? | You could look into using AWS OpenSearch (aka ElasticSearch), and adding the beats agents to your containers. That would let you use Kibana for browsing the logs, which is generally a popular tool. This does come at extra cost! If you are dead against using CloudWatch then setting up a centralized logging account in yo... | 2 | 0 | 239 | 2021-12-23T22:39:03.433 | infrastructure | serverfault.com | |
862,467 | NGINX Incorrect Base URL | I have the apache sitting on 9000 and then nginx reverse proxying it. Config us below [CODE] The problem is that HTML comes back with the following [CODE] How do I put domain name in the [CODE] rather than [CODE] ? P.S. Re question why apache and then nginx, I have migrated a legacy app using docker (apache sits inide ... | The [CODE] tag is generated by your application running behind Apache. nginx does not alter the output from upstream connections, although you could try using [CODE] module for replacing content. It is best to change the upstream application so that it generates correct content. | 2 | 2 | 5,381 | 2017-07-17T03:22:42.383 | pipeline_ops | serverfault.com | |
917,492 | Servers crash with 3000 concurrent clients - how to config it right? PHP & Apache | I've 4 web servers, 2 database servers (read & write), Redis and a load balancer. I'm using PHP 7.0 & Apache2 & MySQL 5.7, however when I do load tests with 3000 users which surf at the same time, the servers crash one by one. The Apache servers are strong, each one has 32GB ram and sadly all of them reach to the maxim... | We had even 6000 last summer. How do 4 servers with load balancer not handle such requests? So what changed? To answer the question, almost always by being bogged down in backend code processing, and sometimes by things like tcp socket exhaustion, and other times it is just simple pool/etc limits between apache and php... | 2 | 2 | 1,336 | 2018-06-20T15:32:24.797 | database_errors | serverfault.com | |
444,762 | Decoupling modules of a monolith | As part of an migration from .NET Framework to .NET Core we're looking to decouple elements of our monolith into more manageable modules. Ideally following a clean architecture/DDD/microservice approach dependant on each module. Two major elements of our system include a CMS and an Ecommerce Product Catalogue. Currentl... | This is a little bit hard to answer without knowing more about your CMS, but when I got this right, a `pageNode" should be able to store a list of foreign key references to all kind of "referenced things"? If that's right, you might introduce an entity "GenericReference", with attributes pageNodeID ID // string typeFla... | 0 | 2 | 241 | 2023-03-29T16:14:41.313 | api_errors | softwareengineering.stackexchange.com | |
118,277 | Forward all network destinated packets to the OS virtually installed on VMWare | here is my problem. I start my computer on a Windows session. I launch VMWare Player and start an Ubuntu session. I would like that all packets, on Windows, which are destinated to the network are sent to the virtual Ubuntu. Then, Ubuntu will forward all these packets to the real network card to be sent through the net... | I think you would have to set up packet forwarding on the Ubuntu VM (with the VM set up using bridged networking) and set your Windows computer to use the Ubuntu VM as a gateway. Googling Ubuntu packet forwarding or gateway should give links like this one or this one to help with the configuration. Or you can download ... | 0 | 2 | 376 | 2010-03-02T13:08:27.560 | infrastructure | serverfault.com | |
287,761 | MySQL update a record on duplicate key update (merge) | I have a table [CODE] with the follow schema: [CODE] Now I can do INSERT with this query: [CODE] So now I have 1 product (ID 1) with quantity 1 and price 200. Now I insert 2 more products with: [CODE] Now I have 2 products, one (ID 1) with quantity 2 and price 200 and the other (ID 2) with quantity 1 and price 199. Goo... | Which do you want? Do you want to tally the number of each item, and keep the latest price? Or do you want to tally each item-price combo. That is, should 199 and 200 take 2 rows or just one? [CODE] says one row and can keep only the latest price as you are doing with [CODE] The 3-column UNIQUE key is in conflict with ... | 0 | 1 | 680 | 2021-03-26T10:42:16.833 | database_errors | dba.stackexchange.com | |
192,462 | Clients with home directories on NFS hanging on login | I have several client machines running Ubuntu 10.04 that mount home directories from a central NFS server, also running Ubuntu 10.04. Users are authenticated through a central Windows AD using samba and winbind on the client machines. Recently I get this behavior that when some users log in, the login screen hangs and ... | I have seen this kind of behavior when a directory in the PATH is automounted nfs and that directory is unavailable or unresponsive. I would check the PATH for those accounts. Make sure there is nothing automounted in the path. Then you can add directories one by one and find out which causes the hang. Another possibil... | 1 | 0 | 1,364 | 2010-10-19T12:04:29.443 | infrastructure | serverfault.com | |
278,560 | @TimeLimit setting in Ola-Hallengren's IndexOptimize Running Much Longer Than The Value Set | We start our indexing at 10:00 PM every evening and we want to allow it run until 4:30 AM, the next day. Therefore, we set the @timelimit variable / parameter to 23400 seconds. The issue is that the system continues to run well past the allotted time, by over 3607 seconds, or until I shut it down. Thoughts on why it wo... | As explained in the documentation (and evident from the procedure source code), [CODE] is used to Set the time, in seconds, after which no commands are executed. (emphasis above is mine). A command that started before the threshold will keep running until it completes. | 0 | 4 | 1,083 | 2020-10-23T11:45:47.227 | warehouse_errors | dba.stackexchange.com | |
725,687 | Firewall Security Issue | I'm running a few servers off Windows Server 2008, although I have some problems with client connections. To troubleshoot the issue I have clients ping an IP that is behind a router, and they are able to ping successfully. Although when pinging an IP behind the Windows Firewall Security on the server, they are unable t... | Have you tried going to Windows Firewall with Advance Security on the server, going to Inbound Rules and enable File and printer sharing (Echo Request ipv4) on all profiles | 0 | 0 | 39 | 2015-09-30T05:18:50.007 | infrastructure | serverfault.com | |
51,007 | MySQL cluster 5.6 doesn't convert invalid TIMESTAMP value to '0000-00-00 00:00:00'? | According to the document : Invalid DATE, DATETIME, or TIMESTAMP values are converted to the “zero” value of the appropriate type ('0000-00-00' or '0000-00-00 00:00:00'). but it doesn't happen with MySQL Cluster 5.6. Here're the details: Server version: 5.6.11-ndb-7.3.2-cluster-commercial-advanced-log MySQL Cluster Ser... | From mysql.com : With strict mode disabled, invalid dates such as '2004-04-31' are converted to '0000-00-00' and a warning is generated. With strict mode enabled, invalid dates generate an error. To permit such dates, enable ALLOW_INVALID_DATES. To disable it you have 2 options. Via SQL: execute [CODE] query. Via [CODE... | 1 | 1 | 4,074 | 2013-10-04T09:12:11.133 | database_errors | dba.stackexchange.com | |
199,271 | Setting up Log shipping without enabling LS copy job | We have a need where we need to set up LS for the servers where we use NAS for backups. As NAS is shared between Primary and Secondary there will not be a need to use LS COpy job as backups will be duplicated and LS might not work How can i set up with just LS backup and LS restore configured and make LS a success? | Setup log shipping and disable LS copy job. As long as you setup backup folder correctly you should be ok. | 0 | 2 | 465 | 2018-03-02T21:04:37.617 | data_quality | dba.stackexchange.com | |
305,120 | Select records based on priority | I have data stored as: [CODE] I want to be able to select top 2 based on priority like below. [CODE] We have over a million records and I would like a query that is more efficient in terms on performance. Please any help would be much appreciated | To get TOP 2 from the table described above: [CODE] BUT You need to have an index on the table with definition as follows: [CODE] With this index, the query reads 2 rows and is finished as the execution plan below shows. This applies regardless of table size . TOP operator effectively works as "execution terminator" he... | -3 | 1 | 2,468 | 2021-12-17T17:44:46.923 | warehouse_errors | dba.stackexchange.com | |
274,049 | apache tomcat IE caching problem | I'm running apche2 and tomcat6 both on port 80 with mod_jk setup on ubuntu servers(8.10,9.10). Tomcat is being used for serving jsp pages. I've a small problem with the IE browser which doesn't cache but just reload all the images(jpg|png|css) when refreshed the page which is not happing with the other browsers. I also... | We didn't have much luck getting IE to cache until adding something like this to the apache configuration for files matching images and stylesheet extensions: [CODE] | 1 | 0 | 1,387 | 2011-02-17T16:46:07.293 | infrastructure | serverfault.com | |
10,343 | Why is Rails (with Nginx/Passenger via Ansible) unable to see my RAILS_MASTER_KEY environment variable? | I'm writing Ansible playbooks to provision an Ubuntu 18.04 server. I want to provision the server for a Rails application using Passenger and Nginx. I used geerlingguy.passenger from Ansible Galaxy to configure Passenger and Nginx. In addition, I used zzet.rbenv to install ruby 2.5.3. The Ansible playbooks seem to have... | Root cause: environment variables from [CODE] are not passed to Passenger. The standard method seems to be passenger_env_var in your nginx config as suggested by user joshaidan . | 1 | 0 | 381 | 2019-12-30T22:37:59.807 | pipeline_ops | devops.stackexchange.com | |
126,298 | Univariate anomaly / outlier detection | I'm facing a problem that seems 'easy,' but I've been struggling with it for a while now in the field of anomaly/outlier detection. I have a dataset of around 60K data points. Each data point is part of a group (~1500 groups; min group size is 15) and has a length parameter. The task is to perform anomaly detection wit... | Consider swapping the Z-score for Median Absolute Deviation , it might improve robustness. Furthermore, it is critical to choose a threshold wisely. At minimum, plot the anomaly scores using a histogram, and see if you can select an appropriate point. It might also be that you need different strategies for the differen... | 0 | 0 | 17 | 2024-01-06T17:25:10.667 | pipeline_ops | datascience.stackexchange.com | |
288,396 | Storing exception information as a member variable for query later, bad practice? | I looking at the best way to handle exceptions, the answer to this question may be to handle the exception in a different place or to not handle to exception at all but to control the flow of the code. Please let me know if this is the case. Lets say we have a class [CODE] . This class has a [CODE] method that looks li... | Its a reasonably common practice - C programs (and other systems, eg errno ) often to store the last error in a location so you can pick the details out if a function returned an error code. There's no reason why you can't do the same. However, if you do this you have to take a few things into consideration. Threads ar... | 2 | 0 | 82 | 2015-07-01T12:56:29.287 | api_errors | softwareengineering.stackexchange.com | |
1,066,388 | In Azure, how to prevent a user create a Network Interface Card but not modify it? | I want to give a specific RBAC to a user so that he can create a NIC but not to modify . As a matter of fact, what it is aimed is that he shouldn't have permission to change the dynamic ip to static ip and change the ip address of the NIC. I have checked the RBACs of NIC , but it seems that if he has [CODE] permission ... | It is not possible for someone to have permissions to create a resource but not edit it, as it is all contained under the write permission. Your best bet would be to use Azure Policy to define a policy that doesn't allow static IP addresses. | 0 | 1 | 263 | 2021-06-11T08:09:45.140 | infrastructure | serverfault.com | |
469,094 | Issues with EC2 Elastic Load Balancer DNS and routing | We're trying to run a fairly straightforward setup on Amazon EC2 - several HTTP servers sitting behind an Amazon Elastic Load Balancer (ELB). Our domain is managed in Route53, and we have a CNAME record set up to point to the ELB. We've experienced some issues where some - but not all - locations are intermittently una... | I found this question while Googling for how to diagnose Amazon Elastic Load Balancers (ELBs) and I want to answer it for anyone else like me who has had this trouble without much guidance. ELB Properties ELBs have some interesting properties. For instance: ELBs are made up of 1 or more nodes These nodes are published ... | 19 | 24 | 35,922 | 2013-01-15T01:30:05.870 | database_errors | serverfault.com | |
489,417 | What types of security threats does a vlan protect against? | I'm learning about vlans. The literature says that they provide improved performance and security by segrating the physical network into separate "virtual" networks. I understand the performance bit . . . reducing traffic mostly. But the security part I don't get. I'm having troulbe envisioning what kind of threats exi... | VLANs essentially can split your network into several seperate isolated networks. The security comes in by forcing certain ports to be part of a specific vlan. One example would be a seperate vlan for guests in conference rooms. They can have internet access but not see the company's computers and servers. Another woul... | 0 | 2 | 1,245 | 2013-03-19T21:46:04.873 | infrastructure | serverfault.com | |
381,924 | Why should makefiles have an "install" target? | Coming from the world of C and C++, most build system have an [CODE] target, notably Makefiles (where it is recommended by GNU for example) or CMake . This target copies the runtime files (executables, libraries, ...) in the operating system (for example, in [CODE] on Windows). This feels really hacky, since for me it ... | Many build scripts or Makefiles have an installation target because they were created before package managers existed, and because even today lots of systems don't have package managers. Plus, there are systems where [CODE] actually is the preferred way of managing packages. | 19 | 24 | 3,855 | 2018-11-23T13:40:54.950 | api_errors | softwareengineering.stackexchange.com | |
216,512 | Serve web application error messages from Http server | I have nginx as a http server with tomcat as a backend (using proxy_pass). It works great but I want to define my own error pages (404, 500, etc.) and that they are served by nginx and not tomcat. For example I have the following resource: [CODE] which doesn't exist. If I [GET] that URL then I get a Not Found message f... | Ok, I found it. In the [CODE] section of the nginx site configuration I'm using: [CODE] You need to add [CODE] for nginx to intercept them . Nginx will only intercept errors you defined with [CODE] . | 0 | 0 | 1,024 | 2010-12-27T18:41:58.313 | api_errors | serverfault.com | |
31,792 | Spiceworks users: how do you manage machine component and peripheral inventory? | I've been wanting to use Spiceworks for some time, and have installed several versions over the last couple of years, including the newly released 4.0. I know that there is a big community over there, but it's hard to navigate and I'm noticing several Spiceworks proponents over here. The big problem I have with Spicewo... | On all assets there is a Notes tab where you can put in that information and there is a documents tab where you can attach supporting documentation. | 3 | 2 | 1,783 | 2009-06-25T19:02:25.160 | infrastructure | serverfault.com | |
280,488 | Multi-insert batch executed remotely 5x slower than locally | I am inserting 30.000 rows into a table in one batch using INSERT .. VALUES statement for each row. See the testing environment: Table creation: [CODE] Batch inserting rows: [CODE] You can download the whole batch here: https://filebin.net/zg499h4iv1m44z6v The table has no indexes, constraints, foreign keys, triggers…n... | So there's only one batch (SqlBatchCompleted) involved here, as I understand. Assuming that: My guess is that the difference is because of (the lack of) the network stack. The client network library default to try Shared Memory first. This doesn't "dip down" in the network stack. This is likely the one you end up with ... | 2 | 1 | 668 | 2020-11-28T11:42:54.787 | database_errors | dba.stackexchange.com | |
845,098 | Application Event Log Source: SideBySide, Event ID: 35 Lync.exe.Manifest error | I'm seeing an error in my Windows event log with the following signature: Log: Application Source: SideBySide EventId: 35 Level: Error Description: Activation context generation failed for "C:\Program Files\Microsoft Office 15\root\office15\lync.exe.Manifest".Error in manifest or policy file "C:\Program Files\Microsoft... | I resolved this by amending the manifest file reported in the error ( [CODE] ), changing the processor architecture of the UccApi DLL. Before: [CODE] After: [CODE] | 2 | 4 | 17,614 | 2017-04-18T15:23:25.270 | infrastructure | serverfault.com | |
85,058 | Training Accuracy is getting higher, but Valid Loss and Accuracy is same every epoch | I'm doing a transfer learning with ResNet50. My dataset is clothes(224x224x3), and 49 category(classes) -> training data 1000 per 1 category, total 49000. And valid data 200 per 1 category, total 9800. All the data are standardized (include valid data) . So I think the data unbalance and the standardization is not a pr... | As you can see from the Train and Validation loss (and also accuracy). While your model is able to learn, your validation results do not improve. This means underfitting, or in this specific case, your validation data is different from your train data. The reason is following: [CODE] DataGenerator() creates random data... | 0 | 1 | 56 | 2020-11-07T10:21:48.360 | data_quality | datascience.stackexchange.com | |
289,658 | Using JDK in Google Android Studio License Issues | I'm new to android developing and maybe my question is strange. If I want to make commercial apps, libraries, or services for android and use Google Android Studio + Oracle JDK (not OpenJDK) is there any problem? Do I need to buy license from oracle? | No, Oracle's JDK is free of use. Android is based on Java Programming language. That's why you need to install Java, so that your app can be compiled and run successfully. | 3 | 1 | 1,299 | 2015-07-14T00:06:58.053 | database_errors | softwareengineering.stackexchange.com | |
1,073,689 | Synology Open VPN Server to Client connection | I have a 2 sites: Synology A (192.168.1.100) - running VPN Server (10.8.0.1) Synology B (192.168.2.100) - running VPN Client (connecting with 10.8.0.10) I'm trying to setup Hyper Backup from Synology A (source) to Synology B (destination). I was able to connect using Open VPN from Synology A to Synology B but I'm not a... | Ok so changing a bit my networks (that probably doesn't matter) LAN Synology A (192.168.1.100) - running VPN Server (192.168.81.1) 4G Synology B (192.168.2.100) - running VPN Client (connecting with 192.168.81.6) Synology A (VPN Server) Synology B (4G VPN Client) I imported openvpn profile. Here I have VPN reconnect ha... | 0 | 0 | 328 | 2021-08-05T22:34:28.170 | database_errors | serverfault.com | |
15,063 | Computed column with less size than the "referring column" | I have a column with data type [CODE] and I wold like to index this. However, since it's too big it's not possible. So I figured I could create a persisted computed column based on that column with the formula: [CODE] However this column also gets a data type of [CODE] so I can't create an index for it. Is it possible ... | Just do a simple cast in your computed column: [CODE] Nota Bene The maximum key length is 900 bytes, and nvarchar(500) has a maximum length of 1000 bytes. In other words, an [CODE] or an [CODE] could potentially fail. | 4 | 10 | 2,065 | 2012-03-15T12:59:25.880 | warehouse_errors | dba.stackexchange.com | |
267,917 | How to insert json into a table and have certain columns remain json | I want to insert data into a table where the first level keys are inserted as values and not as json. Although column "p_attribute" needs to store the nested json. For example, in case of Jane Doe, I want her attribute column to look like this: I can only achieve this by updating the column p_attribute with: [CODE] Now... | The actual column name "p_attribute" and the key "p_attributes" in the json format were different... | 0 | 0 | 653 | 2020-05-26T13:25:35.683 | database_errors | dba.stackexchange.com | |
1,069,401 | Logrotate not writing to new .log file | I have 4 custom systemd services that write to custom logs in [CODE] . I set up a [CODE] config file, but it is not writing to the newest log. It is still writing to the old [CODE] file. The new ones are created , just no data. Here is my logrotate config: [CODE] The newest log files are empty: [CODE] It is still writi... | Typically I see something like this when a process still has the file open - it will continue to write to the old file until the process is restarted. My bet is that if you do a restart instead of a reload it will work as expected. If you cannot restart the process completely look into the copytruncate option instead o... | 1 | 1 | 3,732 | 2021-07-12T20:07:35.723 | infrastructure | serverfault.com | |
49,947 | How can I prove that the following T-SQL is bad for performance? | I have recently inherited a codebase with a large amount of Stored Procedures. The system they are supporting is encountering numerous performance problems which I am looking in to. A number of the Stored Procedures have a pattern like this: Create Temp table Build up dynamic SQL query to insert a bunch of records, e.g... | There is dynamic SQL, so no cache plans, meaning plans generated every time Not necessarily true. Dynamic SQL can (and does) use cached plans just as well as static SQL. For dynamic search conditions resolving to dynamic SQL is oft the right answer. See Dynamic Search Conditions in T-SQL for more details. There is an I... | 4 | 17 | 2,598 | 2013-09-16T10:23:15.750 | database_errors | dba.stackexchange.com | |
667,270 | Linux: Bridge two NICs and route traffic through VPN tunnel except specific destinations and ports | I have a Linux PC (Debian Wheezy) with two Ethernet adapters. Adapter eth0 is connected to the Internet (modem/router/DHCP/firewall thingy) and eth1 is connected to an WiFi access point. All other computers use WiFi and connect to that AP. I want to configure the network so that all traffic from the clients behind the ... | You're right about marking packets using the firewall, but you should not be routing them at that level — use multiple routing tables. First, set up your main routing table so that it routes through [CODE] : [CODE] Once the tunnel is up, set up a secondary routing table that routes through [CODE] : [CODE] Now mark pack... | 1 | 1 | 3,572 | 2015-02-12T23:41:18.137 | infrastructure | serverfault.com | |
665 | Case Behavior Changed Between 11.2.0.1 and 11.2.0.2 | I have a case open with Oracle and they say they can't reproduce this. Running the following in 11.2.0.1 or lower produces two rows from both of these queries, but in 11.2.0.2 the second query returns three rows unless the case statement is removed. Can anyone confirm this behavior? [CODE] The same issue seems to be ef... | Can reproduce on the 11gR2 database hosting apex.oracle.com The following query results in 3 rows: [CODE] Removing the CASE selection gives two rows and changes the value of t3.dummy from '1' to null. Using the EXPLAIN PLAN, you can see that adding the CASE removes the FILTER [CODE] I suspect the optimizer is rejigging... | 5 | 6 | 715 | 2011-01-17T19:08:21.607 | database_errors | dba.stackexchange.com | |
306,826 | Get next invoice number and increment without concurrency problems | I have a table of locations that looks something like this: [CODE] Now I want to create an invoice for a location and I need an invoice number. The invoice number will be equal to the [CODE] value for that location. And then I must increment this value for the next invoice. Very simple logic but is complicated by concu... | If the transaction that allocates invoice numbers is always short-running, and your throughput needs are modest (a few 100s of invoices/sec), you can use a sequence table. It shouldn't be the main "Location" table, as rows are going to be frequently (but briefly) exclusively locked. So [CODE] Then to generate a new inv... | 0 | 3 | 1,729 | 2022-01-31T18:01:04.843 | database_errors | dba.stackexchange.com | |
141,012 | MySQL57 is using 25% CPU and 10% Memory on Desktop | I do a simple left join query on two fairly large table using MySQL57. It takes a long time. I check my desktop's CPU and memory usage for MySQL. It only uses 25% CPU and 10% Memory on my Desktop of Intel 4 core 3.5GHz and 12GB ram. Do you know how to increase the CPU usuage and memory allocation to MySQL? [CODE] | Memory use has already been covered by other answers, though while you should probably allocate more I suspect that this is not the issue for that particular query. With regard to CPU use, 25% of a four core system implies that it is a CPU-bound operation and that it is being run on a single thread: it is running one c... | 0 | 1 | 807 | 2016-06-11T21:52:34.010 | database_errors | dba.stackexchange.com | |
319,818 | How do you deal with NULL values while creating JsonObject? | I am learning Java and JSR-353. My question is quite forward. Having the method below: [CODE] How do you deal if any of the attributes is NULL? | In a JSON "object" (aka dictionary), there are two ways to represent absent values: Either have no key/value pair at all, or have a key with the JSON value null. So you either use .add with a proper value what will get translated to null when you build the JSON, or you don't have the .add call. | 1 | 3 | 28,777 | 2016-05-30T13:39:45.570 | data_quality | softwareengineering.stackexchange.com | |
178,662 | How do I set up an installation script including ODBC-connection? | Easy question this time.... I have a installation file, and a registry edit in my script. How do I set up a ODBC-connection as well, actually I need to script up 2 ODBC-connections. Any advice for me? | System ODBC settings are stored in the registry under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ODBC I would suggest configuring the ODBC connections manually then exporting the registry values. You can then either script a registry merge or write the values explicitly. Remember to install the relevant drivers and associa... | 0 | 1 | 596 | 2010-09-07T06:28:55.837 | infrastructure | serverfault.com | |
26,340 | Converting nominal data to numeric - is using dictionaries the right approach? | Currently I have a data-set with roughly 7 types of nominal data; these are things like "workclass" or "marital status". It is my understanding it is best to convert nominal data like this into numeric data. So, what I've done so far, as a simple experiment, is make up a dictionary for each nominal data type, so in our... | Usually, when dealing with nominal attributes, you want to use the binary vectoriser approach. Unless you have a very large number of nominal values, it typically doesn't matter that you're adding a few attributes. If you do have a huge amount of nominal values, you can try things like dimensionality reduction on the b... | 0 | 1 | 859 | 2018-01-05T21:02:46.697 | data_quality | datascience.stackexchange.com | |
78,173 | Optimisation and Performance Mysql , Zend Framework 2 and Doctrine 2? | i'm facing some problem with performance in an application using zend framework2 and doctrine 2. i would like to optimis it but i don't know from where to start , i read some many questions/ answers about performance and optimisation and i got using cache and indexation But my problem is where exactly apply the indexat... | Start with the database and work your way up. Check out the queries you run using the command line before sending them through a framework. You can activate the general log to check every query that's sent to the database if you want to check exactly what, exactly, is arriving at your server after having used the frame... | 1 | 1 | 679 | 2014-10-01T16:28:23.400 | database_errors | dba.stackexchange.com | |
599,421 | Highest value of max_connections in AWS RDS micro instance | Currently, the value for the [CODE] parameter in a MySQL RDS t1.micro server model is [CODE] is 32. Since my server does not allowing any more connections after 32, what is the Maximum safe value for [CODE] I can use for a micro instance ? | About 2 years ago, I was tasked with evaluating Amazon RDS for MySQL. I wrote some posts in the DBA StackExchange about my findings and observations: [CODE] : Scaling Percona datacenters: setup and replication [CODE] : Local database vs Amazon RDS [CODE] : MySQL 5.5 Runs Out of Memory, Drops All Connections When Creati... | 20 | 33 | 54,120 | 2014-05-29T12:54:32.343 | database_errors | serverfault.com | |
1,096,659 | Zone transfer failed "while receiving responses: invalid NS owner name (wildcard)" from Microsoft to bind 9.16 | I am using Bind 9.16 free BSD and trying to transfer zone data from the Microsoft DNS server but from the bind server I have the following logs, { transfer of 'xxxxx.xxx.xx/IN' from xx.xx.xx.xx#53: Transfer completed: 20 messages, 9091 records, 327278 bytes, 0.018 secs (18182111 bytes/sec) (serial 241231382)21/03/2022 ... | invalid NS owner name (wildcard) Means you have probably [CODE] in your zonefile, which is not allowed. You need to fix the content of your zone. From RFC4592 §4.2: [CODE] But that becomes in fact "barred" at least for [CODE] , as it is easy to test: [CODE] | 1 | 2 | 369 | 2022-03-21T16:12:49.930 | infrastructure | serverfault.com | |
248,727 | Erratic write patterns with linux md RAID1 | I'm experiencing strange write performance patterns on a RAID1 array of SATA disks. My kernel is vanilla 2.6.37 and my server has 32G RAM. I'm copying a 32G file from an XFS filesystem on a SAS drive to an ext3 filesystem over a (md) RAID1 of SATA disks. My script creates a simple progess bar (every 10 secs) of the des... | Have you tested both individual drives? RAID1 usually writes at the speed of the slowest drive so it could be that the other drive is slower. In this case the busrtyness could be a property of the slower drive. | 1 | 0 | 184 | 2011-03-17T19:26:20.287 | infrastructure | serverfault.com | |
1,081,882 | Redundant network connections (using switches without link aggregation support) | I need to connect two Windows 10 PCs together via Ethernet. They will be connected in series through two managed switches (Microchip KSZ9897). Each PC has two Intel NICs. I need the links to be redundant so that communication between the two PCs are kept up if any one cable is damaged/disconnected. Throughput is minima... | Native NIC Teaming is not oficially supported in client OS (Windows 10). Proof - https://social.technet.microsoft.com/Forums/en-US/504864ee-abad-49e0-9e6a-4a817e21e3d6 (comment of AdamRudell[MSFT]) If you have compatible Intel NICs, you may ANS with SFT mode. | 2 | 3 | 223 | 2021-10-27T13:30:50.013 | infrastructure | serverfault.com | |
444,630 | Improving performance of C# Azure function | I am currently working on a C# Azure Function that is triggered by an HTTP request. The function's purpose is to extract raw data from Azure Table Storage and output it to the user in the form of a large JSON object. However, I have observed that as the amount of data I am processing grows, it takes an increasingly lon... | For a function which involves heavy data transfer over a network external storage access to all the data processed it is extremely unlikely switching between lists and arrays in C# will result in any measureable performance difference. However, the question contains barely enough information to give you a more specific... | 1 | 3 | 250 | 2023-03-22T13:57:07.430 | airflow_errors | softwareengineering.stackexchange.com | |
8,548 | npm not found but installed from the shell script file in Dockerfile | I have a following Dockerfile: [CODE] The [CODE] is from https://github.com/hyperledger/composer/blob/master/packages/composer-website/jekylldocs/prereqs-ubuntu.sh . However, it says [CODE] on the line [CODE] when I try to build the image. But [CODE] is installed when running [CODE] already and can be ran successfully ... | The issue is that [CODE] uses [CODE] to install the [CODE] . While the [CODE] directive uses [CODE] to run the commands. Where is the npm installed [CODE] The [CODE] for the [CODE] directive [CODE] | 3 | 3 | 16,069 | 2019-07-07T02:17:25.900 | pipeline_ops | devops.stackexchange.com | |
536,227 | CPU allocation for VMs on ESXi | I'm a complete VMware know-nothing, but I recently set up 4 VMs on ESXi. 3 of the VMs are very non-resource-intensive (a lightly used file server, a lightly used domain domain controller, and a VMware vMA host), and one is more resource intensive (a terminal server used by a dozen people in my small office). The termin... | In ESXi a vCPU will be mapped to a core on a real CPU core for computation. This means that a VM configured with 1 vCPU on a system with 4 cores can never use more than around 1/4th of the capacity of the system. Generally speaking, you do not want to configure VM's with too many vCPU's (as additional vCPU's adds overh... | 7 | 5 | 8,573 | 2013-09-04T11:47:06.523 | api_errors | serverfault.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.